I'm creating some figures in R using the postscript device. The figures will be reduced a great deal, so I need to increase the labels on the X and Y axes a great deal. When I use cex.lab=2, the label on the Y axis chopped off at the top. I tried a workaround by setting paper="special" and using different widths and heights, but no luck. Suggestions appreciated. Richard -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This works well - thanks! Somehow I overlooked this parameter in the description of "par". I'll also look into the mtext suggestion for future reference. Richard> > > you need to change the "par(mar=c(....))" parameter. You probably want to > put more room on the left side, so it might be something like this: > > par(mar=c(5,7,2,0)) > > The '7' says to leave room for 7 lines on the left side. > > > >> I'm creating some figures in R using the postscript device. >> The figures will be reduced a great deal, so I need to increase >> the labels on the X and Y axes a great deal. When I use cex.lab=2, >> the label on the Y axis chopped off at the top. I tried a workaround >> by setting paper="special" and using different widths and heights, >> but no luck. Suggestions appreciated. >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Fri, 15 Nov 2002, Richard Liston wrote:> I'm creating some figures in R using the postscript device. > The figures will be reduced a great deal, so I need to increase > the labels on the X and Y axes a great deal. When I use cex.lab=2, > the label on the Y axis chopped off at the top. I tried a workaround > by setting paper="special" and using different widths and heights, > but no luck. Suggestions appreciated.Use pointsize in the postscript() call. That way the margins will be set at the right size for the labels. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._