[R] plots: screwed up aspect ratio
Bill Simpson
wsi at gcal.ac.uk
Mon Sep 11 10:55:58 CEST 2000
This is a new problem: Old versions of R worked fine. I am not sure when
it got broken. I am posting here instead of bugs in case this is not a
true bug.
New vanilla plots (I mean I don't fool around with par() etc) are screwed
up in several ways:
- the tick marks are twice as long as they should be
- the gap between the end of the tick and the top of the numerical labels
is twice as big as it should be
- the gap between the bottom of the numerical labels and the axis label is
twice as big as it should be
- the aspect ratio is screwed up
[Note in above where I say "should be" I also mean "used to be"]
I am just going to concentrate on the last. If I do
dev.print(pointsize=21,horizontal=FALSE,width=4.5,height=4.5,
file="papers/spatiotemp/plot1a.jm.ps")
I expect that a square plot will be printed to the file. This method has
worked for the past 5 yrs or so. But the latest version of R makes a plot
that is about half as high as it is wide.
Is there any way to get the old behaviour back (in all the ways, not just
aspect ratio)? BTW, including pty="s" in the plot call or as a
par() argument [I can never figure out where these things belong] does not
work.
Right now I think of the following options to get things working:
a) reinstall an old version (.90? .99?)
b) spend all day diddling with plot/graphics parameters
Thanks for any help. I will send this to bugs if you tell me to.
Bill
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list