Rotated text for axis labels should be possible with one of par(srt=90) axis(1,at,labels) par(srt=0) or axis(1,at,labels,srt=90) (or similar with crt instead of srt) None of these works in pre0.65 or in 0.64.2 _ platform sparc-sun-solaris2.7 arch sparc os solaris2.7 system sparc, solaris2.7 status Under development (unstable) status.rev 0 major 0 minor 65.0 year 1999 month August day 13 language R -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "TL" == Thomas Lumley <thomas@biostat.washington.edu> writes:TL> Rotated text for axis labels should be possible with one of TL> par(srt=90) axis(1,at,labels) par(srt=0) TL> or TL> axis(1,at,labels,srt=90) TL> (or similar with crt instead of srt) TL> None of these works in pre0.65 or in 0.64.2 I'm not sure if you are right... The standard way to get rotated axis labels used to be par(las = {0,1,2,3}) The doc (?par) has las: numeric in {0,1,2,3}; the style of axis labels. 0 always parallel to the axis [default], 1 = always horizontal, 2 = always perpendicular to the axis, 3 = always vertical. Try par(mfrow=c(2,2)) for(las in 0:3) plot(1, las = las, main = paste("las =",las)) Martin Maechler <maechler@stat.math.ethz.ch> http://stat.ethz.ch/~maechler/ Seminar fuer Statistik, ETH-Zentrum SOL G1 Sonneggstr.33 ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND phone: x-41-1-632-3408 fax: ...-1086 <>< -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, Aug 17, 1999 at 12:52:29AM +0200, thomas@biostat.washington.edu wrote:> > Rotated text for axis labels should be possible with one of > par(srt=90) > axis(1,at,labels) > par(srt=0) > > or > > axis(1,at,labels,srt=90) > > (or similar with crt instead of srt) > > None of these works in pre0.65 or in 0.64.2This seems like a useful feature, but the S implementation seems sightly odd. axis(1,at,srt=45,adj=1) does rotate the labels, but axis(1,srt=45,adj=1) does not. Do you want this exact behaviour, or would always obeying the srt= option make more sense? Ross -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._