stephen@anc.ed.ac.uk
2000-Jun-09 08:17 UTC
[Rd] Postscript device ignores title if it is too long. (PR#565)
Hi, This may just be an inconsistency between terminal drivers, rather than a proper bug. If the main title of a plot is too wide to all fit on the plot, the X11 driver prints as much of the title as it can, but the postscript driver totally ignores the title. Here's a simple example: % R> plot(runif(1000), main="a long xxxxxxxxxxxx title") > dev.print(file="test.ps")On my setup, I needed about 110 x's in the title to reproduce this problem. This may seem an unlikely long title, but I found the problem when using much shorter titles on multiple figures (created using par(mfrow=c(2,3)) for example). Perhaps the postscript driver could give a warning if the title is too long to be printed? Also, I found a small typo in R-1.0.1/src/library/base/man/postscript.Rd - on line 48: %%>>> REAL DOC in SOURCE: ../../../main/devices.c & ../../../unix/devPS.c the pathname to devPS.c should be: ../../../main/devPS.c Cheers, Stephen> version_ platform alpha-dec-osf4.0 arch alpha os osf4.0 system alpha, osf4.0 status major 1 minor 0.1 year 2000 month April day 14 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Prof Brian Ripley
2000-Jun-09 09:37 UTC
[Rd] Postscript device ignores title if it is too long. (PR#565)
> From: stephen@anc.ed.ac.uk > Date: Fri, 9 Jun 2000 10:17:05 +0200 (MET DST) > > Also, I found a small typo in R-1.0.1/src/library/base/man/postscript.Rd > - on line 48: > %%>>> REAL DOC in SOURCE: ../../../main/devices.c &../../../unix/devPS.c> the pathname to devPS.c should be: ../../../main/devPS.cAlready corrected, thank you. (More on the rest later). -- Brian D. Ripley, ripley@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-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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._