Hi there, Turns out it was a simply 'par' problem
I just needed to establish par(new = TRUE) after the first 'persp' plot and prior to coding the 2nd 'persp' plot. Thanks for your suggestions. Corey -----Original Message----- From: Deepayan Sarkar [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16, 2004 12:14 AM To: [EMAIL PROTECTED] Cc: Corey Bradshaw Subject: Re: [R] RE: adding perspectives to existing persp plots On Wednesday 15 December 2004 01:10, Corey Bradshaw wrote: > Thanks, Romain. I've certainly used that to draw lines and points in > the plots produced by 'persp'; however, my problem is that I need to > incorporate an entirely new z function (not just a plane) onto the > same plot (i.e., using the same x and y values). If the surfaces are non-intersecting, you might be able to use 'wireframe' from the lattice package. See the second example in ?wireframe. Deepayan ______________________________________________ [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
