[R] persp plot + plotting grid lines

Duncan Murdoch murdoch at stats.uwo.ca
Sat Mar 14 22:51:10 CET 2009

On 14/03/2009 12:02 PM, Pedro Mardones wrote:
> Dear all;
> Does anyone know how to add grid lines to a persp plot? I've tried
> using lines(trans3d..) but the lines of course are superimposed into
> the actual 3d surface and what I need is something like the plot shown
> in the following link:
> http://thermal.gg.utah.edu/tutorials/matlab/matlab_tutorial.html
> I'll appreciate any ideas

I just posted a couple of demos of this using the rgl function persp3d, 
in the thread "Re: [R] can I draw 3D plot like this using R?".

Duncan Murdoch

More information about the R-help mailing list