[R] postscript device: horizontal=F

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Nov 13 15:21:37 CET 2003


Pascal A. Niklaus wrote:

> The postscript device behaves strangely - is this possibly a bug?
> 
> case 1)
> 
>  postscript("gfx-%d.ps",width=8 , height=5, paper="special", 
> horizontal=F, onefile=FALSE);
>  <some plots here>
>  dev.off()
> 
>  The first plot is in "portrait" orientation
>  The second and all the following plots are in "landscape" orientation
> 
> case 2)
> 
>  postscript("gfx-%d.ps",width=8 , height=5, paper="special", 
> horizontal=T, onefile=FALSE);
>  <some plots here>
>  dev.off()
> 
>  Now, all plots are in "portrait"...
> 
> So it seems that the orientation of the *first* plot is not affected by 
> horizontal=T/F.

Works for me (R-1.8.1alpha, WinNT4.0).
Which version of R are you using?

Uwe Ligges




More information about the R-help mailing list