[R] Values in horizontal versus vertical position on 'y' axe
hi, When I do a graph. the values on y axe are vertical position. How can I put the values in horizontal position? thanks [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch 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.
Re: [R] Values in horizontal versus vertical position on 'y' axe
? par# then scroll down to look at 'las' You probably want par(las=1) HTH, Mike. akki wrote: hi, When I do a graph. the values on y axe are vertical position. How can I put the values in horizontal position? thanks [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch 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/Values-in-horizontal-versus-vertical-position-on-%27y%27-axe-tf4260726.html#a12124985 Sent from the R help mailing list archive at Nabble.com. __ R-help@stat.math.ethz.ch 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.
Re: [R] Values in horizontal versus vertical position on 'y' axe
On Mon, 2007-08-13 at 13:37 +0200, akki wrote: hi, When I do a graph. the values on y axe are vertical position. How can I put the values in horizontal position? thanks If you mean How do I rotate the tick labels? then look at ?par and parameter 'las'. E.g. this shows the options available: opar - par(mfrow = c(2,2)) plot(1:10, main = expression(las == 0)) ## las = 0, default plot(1:10, las = 1, main = expression(las == 1)) plot(1:10, las = 2, main = expression(las == 2)) plot(1:10, las = 3, main = expression(las == 3)) par(opar) If not, try rephrasing your question, and provide an example of what you can plot at the moment and what is wrong with it that you'd like to change. HTH G -- %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% Gavin Simpson [t] +44 (0)20 7679 0522 ECRC, UCL Geography, [f] +44 (0)20 7679 0565 Pearson Building, [e] gavin.simpsonATNOSPAMucl.ac.uk Gower Street, London [w] http://www.ucl.ac.uk/~ucfagls/ UK. WC1E 6BT. [w] http://www.freshwaters.org.uk %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% __ R-help@stat.math.ethz.ch 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.