Skip to content

x-labels in barplots

2 messages · alfonso.carfora at uniparthenope.it, Rui Barradas

#
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.
#
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: