Re: [R] jpeg legend space issues

From: Jim Lemon <jim_at_bitwrit.com.au>
Date: Tue, 22 Apr 2008 21:01:57 +1000

Georg Ehret wrote:
> Dear R community, I am printing a jpeg file (using plot) and my y-axis
> label becomes partly cut (at the left) by a very close margin of document.
> See example: http://www.igm.jhmi.edu/~gehret/progr_collect_data/beta.jpg
> Can you please help me fix this? I tried "din" and "fig" in the parameter
> and this did not help... (fig permits for a larger margin, but the text is
> still not plotted correctly).

Hi Georg,
Differences in the layout of plots between the screen display and other output devices often lie in the size of the plot. Try increasing the size of your JPEG and see if this makes a difference, e.g.

jpeg("filename.jpg",width=1000,height=1000,...)

Jim



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. Received on Tue 22 Apr 2008 - 11:03:33 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 22 Apr 2008 - 12:30:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive