[R] lean text label below barplot table

Ilai ilaik at montana.edu
Sun Sep 13 21:59:16 CEST 2009


 par(xpd=T)
 bp<- barplot(matrix(1:50,5,10),names=F)
 text(bp,-2,c('these labels','are tooo','looong'),pos=2,srt=45)
 


Xiaogang Yang wrote:
> 
> Hi, everyone:
> I am plotting an graph with bar plot, but the label after every bar is too
> long, I wanna if I can draw the label lean to an angle
> thanks
> 
> -- 
> Xiaogang Yang
> Sensorweb Research Laboratory
> http://sensorweb.vancouver.wsu.edu/
> Washington State University Vancouver
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> 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.
> 
> 

-- 
View this message in context: http://www.nabble.com/lean-text-label-below-barplot-table-tp25336287p25426596.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list