Hello! I've tried to make subj. Here is code: x <- 1:5 y <- 1:5 par ( cex.lab = 3.6, cex.axis = 3.6 ) plot ( x, y, ylab = "Any title" ) I've got ugly picture, where 1) x-axis labels & x-axis itself overlapped, 2) y-axis title does not not fit within bounding box. The _same_ effect in "postscript" device. Is this a bug? Could I solve this problem any way _now_, if I _have_ to plot graph with strongly magnified axis labels? Thanks, Timur. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
ripley@stats.ox.ac.uk
2002-Jun-19 09:55 UTC
[R] simple plot with magnified cex.axis & cex.label
On Wed, 19 Jun 2002, Timur Elzhov wrote:> Hello! > > I've tried to make subj. > > Here is code: > > x <- 1:5 > y <- 1:5 > > par ( cex.lab = 3.6, > cex.axis = 3.6 ) > > plot ( x, y, ylab = "Any title" ) > > > I've got ugly picture, where > > 1) x-axis labels & x-axis itself overlapped, > 2) y-axis title does not not fit within bounding box. > > The _same_ effect in "postscript" device. > > Is this a bug? Could I solve this problem any way _now_, if > I _have_ to plot graph with strongly magnified axis labels?No, it's a mis-understanding. Try setting par(mex): perhaps to less than 3.6. BTW, this is essentially Exercise 3.2 in Venables & Ripley (1999) and that has on-line answers which suggest a different way to do this and further tweaks you might do. For postscript, just set a small width & height and expand the figure afterwards. -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._