[R] Chart Size
Bill Simpson
wsi at gcal.ac.uk
Fri Mar 30 10:07:53 CEST 2001
> How do I change the size of the chart, please?
Do you mean the version you save to disk or print out? Or the version you
see on the screen?
I'm not sure about the screen. To print the current plot
dev.print(height=6, width=6, horizontal=FALSE)
Vary the height and width to suit your taste.
You might want to include pointsize=20 or whatever so the text is in
proper proportion to the rest of your plot. (Unfortunately this will also
make the hash marks too big and put a big gap between the axis labels and
the axis title like this
----+----+----+----+----+---
| | | | |
| | | | |
1 2 3 4 5
axis title
(My own solution is to make the plot quite small, say 3 x 3, so that the
plot symbols, the axis lettering, and plot region are in proper
proportion. Then I scale up the postscript in the LaTeX document.)
> I tried changing the mar option in par, but that didn't
> do it.
This will certainly vary the proportion: margin/(plot region)
----------------
| | |
| | plot |
| | region |
| | |
| | |
| |----------- |
| margin |
----------------
----------------
| | |
| | |
| | |
| | |
| |--------- |
| |
| |
----------------
Bill
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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