[R] x-labels in barplots
Rui Barradas
ruipbarradas at sapo.pt
Tue Jun 25 11:21:48 CEST 2013
Hello,
Use graphic parameter las = 2.
See the help for ?par.
Hope this helps,
Rui Barradas
Em 25-06-2013 07:03, alfonso.carfora at uniparthenope.it escreveu:
> Hi,
>
> I need to generate a barplot in in which the x-labels must to be
> perpendiculars to the x-axis
>
> in my data have a list of probability values correspondings to a list of
> Countries. In the barplot the name of each Country, under each bar,
> appears parallel to the x axis. Is possibile rotate them so as to make
> them perpendicular to the x-axis
>
> barplot(fig1$Prob,names.arg=fig1$Country,ylab="probabilities",ylim=c(0,0.3))
>
>
> Thanks
> A.C.
>
>
>
> ******************************************************************************
>
> IL MERITO DEGLI STUDENTI VIENE RICONOSCIUTO
>
> Il 5 per mille all'Universita' degli Studi di Napoli "Parthenope"
> incrementa le borse di studio agli studenti - codice fiscale 80018240632
> http://www.uniparthenope.it/index.php/5xmille
> http://www.uniparthenope.it/index.php/it/avvisi-sito-di-ateneo/2943-la-parthenope-premia-il-tuo-voto-di-diploma-ed-il-tuo-imegno-con-i-proventi-del-5-per-mille
>
>
> Questa informativa e' inserita in automatico dal sistema al fine
> esclusivo della realizzazione dei fini istituzionali dell'ente.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list