Hi, I would like plot two surfaces which are each given by vectors x and y, and a matrix m(x,y) representing the z coordinate. With persp() I can plot both, using par(new=TRUE) I can put it in one plot. However, I would like to have the visibility of the surfaces taken into account as if they are solid thin surfaces, so that for example the order of the plot commands does not matter.
Any idea how to do that? Thanks a lot, Sebastian
signature.asc
Description: OpenPGP digital signature
______________________________________________ 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.