Dear list, Plots generated with the plot command have labels on the vertical y axis rotated counterclockwise. How do I specify that they should be positioned horizontally (I mean each label should read from left to right)? Thank you. L.
On Feb 3, 2011, at 1:16 PM, Longe wrote:> Dear list, > > Plots generated with the plot command have labels on the vertical y > axis rotated counterclockwise. How do I specify that they should be > positioned horizontally (I mean each label should read from left to > right)??par The las argument. but my memory is that it applies to both x and y, so you may need to suppress the x with xaxt="n" and then draw it separately with axis().> > Thank you. > L. > > ______________________________________________ > 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.David Winsemius, MD West Hartford, CT
Tena koe ?par and check the las argument. HTH .... Peter Alspach> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Longe > Sent: Friday, 4 February 2011 7:16 a.m. > To: r-help at r-project.org > Subject: [R] Changing the direction of axis labels on a plot > > Dear list, > > Plots generated with the plot command have labels on the vertical y > axis > rotated counterclockwise. How do I specify that they should be > positioned horizontally (I mean each label should read from left to > right)? > > Thank you. > L. > > ______________________________________________ > 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 confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, disseminate, distribute or reproduce all or any part of this e-mail or attachments. If you have received this e-mail in error, please notify the sender and delete all material pertaining to this e-mail. Any opinion or views expressed in this e-mail are those of the individual sender and may not represent those of The New Zealand Institute for Plant and Food Research Limited.
On 02/03/2011 01:57 PM, Peter Alspach wrote:> Tena koe > > ?par > > and check the las argument. > > HTH .... > > Peter AlspachThank you, Peter, and also David and William. The las argument indeed helps in setting the tick labels horizontally. Beautiful! But how do I rotate also the axis label, which is not altered by the las argument? Regards L.