Hello,
I am using R 2.2.1 with sn 0.4.0 and am trying to save a dns2.plot as a jpg
file.
Here is the latest version of the code I have tried:
x <- seq(0,200,length=200)
y <- seq(0, 35, length=200)
jpeg(filename = "C:/fig1.jpg", width = 5, height = 4,pointsize = 12, quality
= 100, bg = "white", res = NA)
par(mfrow=c(1,2),plt=c(.15,.99,.15,.95),mgp=c(1.5,1,0),tcl=-.25,cex.axis=.8)
dsn2.plot
(x,y,xi=c(29,6),Omega=matrix(c(2580,458,458,84),2),alpha=c(5482940,-2120750))
dst2.plot(x,y, xi=c(29,6),Omega=matrix(c(2065,380,380,72),2),alpha
=c(48,-13),df=10)
dev.off()
I've also tried using graphics.off().
Any help would be greatly appreciated?
Thanks,
Martin Heller
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html