[R] Graphical Parameters
Stefan Grosse
singularitaet at gmx.net
Mon Aug 17 14:04:37 CEST 2009
On Mon, 17 Aug 2009 05:54:18 +0000 mohsin ali <ali.mohsin at hotmail.com>
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
More information about the R-help
mailing list