Re: [R] Two surfaces in one plot with visibility

2012-02-14 Thread Duncan Murdoch
On 14/02/2012 9:19 AM, Michael Friendly wrote: On 2/13/2012 11:15 AM, Duncan Murdoch wrote: > On 13/02/2012 9:24 AM, Sebastian Schubert wrote: >> 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(

Re: [R] Two surfaces in one plot with visibility

2012-02-14 Thread Michael Friendly
On 2/13/2012 11:15 AM, Duncan Murdoch wrote: On 13/02/2012 9:24 AM, Sebastian Schubert wrote: 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

Re: [R] Two surfaces in one plot with visibility

2012-02-13 Thread Sebastian Schubert
Hi! On 13/02/12 17:15, Duncan Murdoch wrote: >> 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. [..] >> I >> would like to have the visibility of the surfaces taken into account as >> if they are solid thin surfaces, so

Re: [R] Two surfaces in one plot with visibility

2012-02-13 Thread Duncan Murdoch
On 13/02/2012 9:24 AM, Sebastian Schubert wrote: 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

[R] Two surfaces in one plot with visibility

2012-02-13 Thread Sebastian Schubert
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