rotate bar labels in barplot()
Ricardo The las argument will allow rotation of 90 degrees: par(mfrow=c(2,2)) barplot(1:10, names=letters[1:10], las=0) barplot(1:10, names=letters[1:10], las=1) barplot(1:10, names=letters[1:10], las=2) barplot(1:10, names=letters[1:10], las=3) If you want to do other rotation angles then it will be more complicated (but not much). HTH .... Peter Alspach
-----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of [Ricardo Rodriguez] Your XEN ICT Team Sent: Thursday, 3 April 2008 12:48 p.m. To: r-help at r-project.org Subject: [R] rotate bar labels in barplot() Hi all, It is for sure that I could find more powerful packages to plot my data, but this simple barplot() was doing well so far. My problem now is that I would need to rotate bar labels. Please, is this possible without going to use axis()? I am trying to keep the workflow as simple as possible to bring people of our team into R! Thanks, Ricardo -- Ricardo Rodr?guez Your XEN ICT Team
______________________________________________ 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.
The contents of this e-mail are privileged and/or confidential to the named recipient and are not to be used by any other person and/or organisation. If you have received this e-mail in error, please notify the sender and delete all material pertaining to this e-mail.