[R] picture size

Mark Myatt mark at myatt.demon.co.uk
Fri Mar 23 09:43:35 CET 2001


Heberto Ghezzo <Heberto at meakins.lan.mcgill.ca> writes:
>Hi.
>I am trying to plot a big graph, simple from plot(), but I want it large 
>size. Now par(din=..) is a read only parameter set at 4.5 by 4.5 
>inches. If I want a bigger plot, say 6 by 9 inches in landscape mode,
>Do I have to recompile R changing this parameter or is there a way 
>to reformat the plot so it will print at the size I want.?
>I am using R 1.2.2 in win98, well now it is the latest from BDR R 1.23
>As always thanks for the help.

I think you need to open a graphics device before plot for example:

        data(faithful)
        win.graph(width = 9, height = 6)
        plot(faithful$eruptions, faithful$waiting)

You could use x11() instead of win.graph().

Mark
        

--
Mark Myatt


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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