On Fri, Aug 28, 2009 at 1:48 AM, Prof Brian Ripley <rip...@stats.ox.ac.uk>wrote:

> Note that the aspect ratio changes when you resize the plot but the angle
> of the plotted text will not.  So the only safe route is to set 'asp' and
> use that setting to select the angle.


That is true with screen output, although I can run the code block again
after re-sizing to correct the text angle along with the aspect ratio.  And
for my purpose which is writing to file, it isn't an issue, for example the
following plots which need different aspect ratios all work correctly:

png("example%d.png")
makeplot()  #as per example code
par(mfrow=c(2,1))
makeplot()
makeplot()
par(mfrow=c(1,2))
makeplot()
makeplot()
dev.off()


-- 
Levi Waldron
post-doctoral fellow
Jurisica Lab, Ontario Cancer Institute
Division of Signaling Biology
TMDT 9-304D
101 College Street
Toronto, Ontario M5G 1L7
(416)581-7453

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to