[R] plot as .ps file: where are the axes and labels gone

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Feb 26 11:44:06 CET 2003


Christoph Lehmann wrote:
> Sorry, I am sure, this must be documented somewhere (but there are that
> many docs and tutorials to scan for topics..., actually a great thing...
> but if you are in a hurry..):
> 
> I want to save a plot as .ps (or .eps):
> 
> 
>>postscript("plot1.eps", horizontal=FALSE,
> 
> onefile=FALSE,height=8,width=8,pointsize=10)
> 
>>plot(hpfit$fit,rstudent(hpfit),xlab="Fitted
> 
> Response",ylab="Studentized Residuals")
> 
> unfortunately, I cannot find the axes and labels in the .ps anymore.
> where are they gone? how to fix it?
> 
> thanks a lot
> christoph
> 

Well, it works for me with R-1.6.2 on WinNT 4.0 (you haven't told such 
relevant information), given you had closed the device with device.off().

Uwe Ligges




More information about the R-help mailing list