Re: [R] plot points using vis.gam

2010-08-22 Thread David Winsemius
I typically annotate contourplots in the manner suggested. I agree that doing it with a persp() plot would be more difficult but it's really quite straightforward with either base or lattice graphics. -- David Simon Wood-4 wrote: > > There is no easy way to do this. It might be possible to cus

Re: [R] plot points using vis.gam

2010-08-22 Thread mra
That's too bad. Thanks for your time, Monica On Sun, Aug 22, 2010 at 7:13 AM, Simon Wood-4 [via R] wrote: > There is no easy way to do this. It might be possible to customize vis.gam, > to > be able to do this by using the same trick that allows you to add elements > to > a 3D plot with `persp'

Re: [R] plot points using vis.gam

2010-08-22 Thread Simon Wood
There is no easy way to do this. It might be possible to customize vis.gam, to be able to do this by using the same trick that allows you to add elements to a 3D plot with `persp' (see help file for persp), but it would be quite a bit of coding, I guess. On Thursday 05 August 2010 15:19, mra wr

[R] plot points using vis.gam

2010-08-05 Thread mra
Hello, I'm trying to illustrate the relationships between various trait and environment data gathered from a number of sites. I've created a GAM to do this: gam1=gam(trait~s(env1)+s(env2)+te(env1,env2)) and I know how to create a 3D plot using vis.gam. I want to be able to show points on the 3D p