[R] compressing the plot's white space

Alexy Khrabrov deliverable at gmail.com
Sat Jun 27 09:06:50 CEST 2009


I need to fit a graph into a column of a 2-column paper.  I found that
just specifying width and height parameters (3.2in x 3.5in) to plot
doesn't decrease the fonts of the main title, axis titles, and
labeling numbers, and tick sizes.  So I have to add cex to all labels
and titles and manage ticks.  However, I can't decrease the space
between axis label and numbers on ticks.  Is there a way to place
those numbers inside the plot, and/or explicitly remove most of the
space between the numbers and the axis title?  Also, how should I
specify the margins to achieve best white space elimination?  On
Quartz, decreasing margins seem to squeeze the titles properly, on
postscript device, the axis titles simply move outside the plot.

Cheers,
Alexy




More information about the R-help mailing list