[R] multiple surfaces in persp?

Simon Wood snw at mcs.st-and.ac.uk
Wed Jan 23 10:14:13 CET 2002


> Does anybody know if persp() can display multiple surfaces on the one plot?
> If not is there any other functions/code that will do this. 

- you can do this using par(new=TRUE) between calls to persp() to get
plots overlayed: persp.gam() in package mgcv does this, for example.

 ______________________________________________________________________
> Simon Wood  snw at st-and.ac.uk  http://www.ruwpa.st-and.ac.uk/simon.html
> The Mathematical Institute, North Haugh, St. Andrews, Fife KY16 9SS UK
> Direct telephone: (0)1334 463799          Indirect fax: (0)1334 463748 


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list