[R] some EPS rotated in journal preview
Knut Krueger
admin at biostatistic.de
Wed Jan 18 16:38:26 CET 2006
Prof Brian Ripley schrieb:
> The problem is a well-known one in viewers looking at whole pages,
> especially PS -> PDF converters. R figures are particularly
> vulnerable as they have text running both horizontally and vertically
> (with normal axes).
>
> Please do follow exactly the advice on the postscript help page.
>
> The postscript produced for a single R plot is EPS (_Encapsulated
> PostScript_) compatible, and can be included into other documents,
> e.g., into LaTeX, using '\includegraphics{<filename>}'. For use
> in this way you will probably want to set 'horizontal = FALSE,
> onefile = FALSE, paper = "special"'.
>
>>
>> postscript("c:/temp/fig04.eps",bg="transparent",onefile = TRUE
>> ,pointsize=20,paper =
>> "letter",height=8,width=8,horizontal=FALSE,family = "Helvetica", font
>> = "Helvetica")
>
postscript("c:/temp/fig04.eps",bg="transparent",height=8,width=8,bg="transparent",pointsize=20,horizontal
= FALSE,onefile = FALSE, paper = "special",family = "Helvetica", font =
"Helvetica")
There is a error from boxplot without ,height=8,width=8
error in plot.new() : Grafikränder zu groß ( margins to big)
but I am afraid that they have autorotation on. I will aks the journal
to switch it off.
Regards Knut
More information about the R-help
mailing list