[R] postscript/eps label clipping
Mulholland, Tom
Tom.Mulholland at health.wa.gov.au
Fri Jul 11 07:38:18 CEST 2003
Never having used postscript as an output method I looked to see what
you were talking about. I noted that "ps.options needs to be called
before calling postscript". ps.options does have pointsize within it and
silly though it may seem, its what I would do next.
_________________________________________________
Tom Mulholland
Senior Policy Officer
WA Country Health Service
189 Royal St, East Perth, WA, 6004
Tel: (08) 9222 4062
e-mail: Tom.Mulholland at health.wa.gov.au
The contents of this e-mail transmission are confidential and may be
protected by professional privilege. The contents are intended only for
the named recipients of this e-mail. If you are not the intended
recipient, you are hereby notified that any use, reproduction,
disclosure or distribution of the information contained in this e-mail
is prohibited. Please notify the sender immediately.
-----Original Message-----
From: drf5n at mug.sys.virginia.edu [mailto:drf5n at mug.sys.virginia.edu]
Sent: Friday, 11 July 2003 1:17 PM
To: R-help at stat.math.ethz.ch
Subject: [R] postscript/eps label clipping
The following code produces an eps file with the tops of each of the
ylabs clipped off.
par(mfrow=c(2,2))
plot(runif(10),
ylab="Function(Lengthy Expression)",xlab="Prediction")
plot(runif(10),
ylab=expression(Delta * Beta^2),xlab="Prediction")
plot(runif(10),
ylab="Function(Lengthy Expression)",xlab="Prediction")
plot(runif(10),
ylab=expression(Delta * Beta^2),xlab="Prediction")
dev.print(postscript,file="foo.eps",
horizontal=FALSE,onefile=FALSE,paper="special",
pointsize=7, width=5,height=4)
?postscript seems to indicate paper="special", width=, height=, and
pointsize= are the recommended way to produce nice latex graphics.
If I don't set a pointsize, the letters aren't clipped, but the graphs
are tiny with respect to the x/y labels. Is there something else I
should be adjusting instead?
Thanks for your time,
Dave
--
Dave Forrest (434)924-3954w(111B) (804)642-0662h (804)695-2026p
drf5n at maplepark.com http://mug.sys.virginia.edu/~drf5n/
______________________________________________
R-help at stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
More information about the R-help
mailing list