On Mon, 17 Aug 2009 05:54:18 +0000 mohsin ali <[email protected]>
wrote:
MA> How can I change plot size, figure size and device size? The
MA> examples availble for par() function are not very helpful. Would
MA> you please give a very simple example?
It would be easier if you would tell what exactly you want to do. I
believe the easiest way is not par but the options of the device. For
example:
png("myplot.png",width=400,height=400)
plot(...)
dev.off()
vs.:
png("myplot.png",width=800,height=400)
plot(...)
dev.off()
hth
Stefan
______________________________________________
[email protected] 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.