[R] Specify plot size

Eric Thompson ericthompso at gmail.com
Mon Oct 8 15:28:20 CEST 2007


Have you tried using pdf(), postscript(), or jpeg()? All of these have
arguments to specify the height and width of the device.



On 10/8/07, Christoph Krammer <ck at altaica.de> wrote:
> Hello,
>
> I have another (possibly easy) question:
>
> How to specify the size of a plot? When I draw a plot, I can freely change
> the size of the window, which is nice for single plots to find the best
> height/width ratio, but as I need a lot of plots in my work, I want to look
> them all the same, so I need to specify the size in advance.
>
> Thanks for help,
>  Christoph
>
> ______________________________________________
> R-help at 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.
>



More information about the R-help mailing list