Dear all,
I am using the following code to write the plot to an eps format

postscript(file="test.eps",horizontal=FALSE)

boxplot(test[30,1:500],test[90,1:500],test[150,1:500],test[210,1:500],test[270,1:500],test[330,1:500],test[390,1:500],names=c("1","3","5","8","10","13","1"),outline=FALSE,ylim=c(0.01,50),log="y",
 xlab = "xvalue",ylab="yvalue",boxwex=0.5, pars =list(whisklwd=0,staplelwd=0))

dev.off()


This creates a 6kb eps file, that can not be opened by any program. I tired 
with photoshop gimp, acrobat reader. This is the normal process I follow to 
save my plots.

dev.off always returns 1.

and the boxplot function succesfullu does the plot in the screen.

What might be the problem?

I would like to thank you in advance for your help

B.R
Alex

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to