[R] suggestion: postscript paper=user

Li Dongfeng mavip5 at inet.polyu.edu.hk
Mon Sep 6 07:27:09 CEST 1999



"Alvaro A. Novo" wrote:

> On Sun, 05 Sep 1999, you wrote:
> > Dear R developers and users,
> >
> >   I have a suggestion for the postscript device driver.
> > Now the paer= option only support "a4", "letter",
> > "legal", "executive". I suggest we add a "user" option
> > and letter user provide paper size, even like "595x421",
> > width>height.
> >
> > For printing purpose, the provided paper size are
> > nearly enought. But I need to use R to produce
> > a lot of graphics, and transform these graphics to
> > PNG format for web publication.  I use ghostscript
> > to do the transformation, but the default paper size of the
> > R postscript device is too big, and the orietation
> > is not correct(we need landscape). I don't know
> > how to make the image size smaller and
> > rotating 90 degrees with ghostscript.  I had to
>
> When you issue postscript( ), use option horizontal=TRUE.
>

This will cause the transformed image to be 90 degrees rotated.

>
> Also, by specifying height= and width= you can get size-customized
> images... although I am not sure that this solves your "web problem".
>

The R postscript driver put the restricted graph in the middle of the
page, and ghostscript cannot easily cut the desired region.

>
> Alvaro Novo
> --      --      --      --      --
> Alvaro A. Novo
> 2116-304 S. Orchard St.
> Urbana, IL 61801
> USA
>
> novo at uiuc.edu (Ph.D. Econ)
> (217)369-4872
> --      --      --      --      --

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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