[R] Plot window - save as Postscript question

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Dec 28 10:56:42 CET 2006



Knut Krueger wrote:
> R  2.4.0 for Windows
> The following plot appears as a squared window (as all r-plots)
> Not all subtitles are visible, but  all subtitle will appear, when  
> changing the aspect ratio of the plot window with the mouse to a wide 
> format.
> But does not work when using the save as postscript menu item from the 
> plot window.
> is there any solution for that?


Yes: Use the postscript() device explicitly and define the width and 
height in the function call.

Uwe Ligges


> opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
> mp <- barplot2(VADeaths) # default
> mp <- barplot2(VADeaths) # default
> mp <- barplot2(VADeaths) # default
> mp <- barplot2(VADeaths) # default
> par(opar)
> 
> Regards Knut
> 
> ______________________________________________
> R-help at stat.math.ethz.ch 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