Thanks for the answer.

>
> >
> > The problem we are facing is that we dev.copy to a pdf device and then,
> the
> > legend doesn't look the same: numbers overlap a little lines.
>
> I suspect that this is what you are
> experiencing.


yes it seems to be

If you want to end up with a PDF plot, use pdf() and set the various
> plotting parameters (ie. font size, etc.) based upon what you see there,
> not what you see on the screen or in another device.


we plot the graphs on the postscript device (because on the server I work
X11 is unfortunately not available), and after we copy from postscript
device to both pdf (dev.copy) and bitmap (dev2bitmap) device (.png file at
the end).
So the graphs look OK on png image but not on the pdf ; I will try to set
parameters on pdf()

One other possibility, just to throw it out there since you are on
> Linux, is to use ps2pdf from a console to convert the PS file to PDF.


Thanks for this, I already used 'ps2pdf' before, but in this way I can't
because:
- I do several graphics in the script, each of them is "drawn" on the
postscript device, copied to bitmap and pdf, then the postscript device is
shut down but not the pdf one, which presents all the graphics in one file
(several pages) at the end.
- the script has to be a "cross platform" one...


Thanks again, I try settings on pdf() and tell you,

Florence.

        [[alternative HTML version deleted]]

______________________________________________
R-help@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

Reply via email to