[Rd] Postscript device ignores title if it is too long. (PR#565)
Fri, 9 Jun 2000 10:17:05 +0200 (MET DST)
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:
> plot(runif(1000), main="a long xxxxxxxxxxxx title")
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
system alpha, osf4.0
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: email@example.com