Re: [R] Saving dns2.plot as a jpg image

From: Larry Howe <larry.howe_at_comjet.com>
Date: Sat 10 Jun 2006 - 01:38:54 EST

You don't say what OS you are using, or whether you are getting any messages or errors.

http://www.R-project.org/posting-guide.html

Larry Howe

On Friday June 9 2006 11:00, Martin Heller wrote:
> 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]]
>
> ______________________________________________
> 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



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 Received on Sat Jun 10 01:49:30 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 11 Jun 2006 - 05:34:58 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.