Skip to content
Back to formatted view

Raw Message

Message-ID: <70F74D75-2F1B-42A4-B0B6-52A4AFB3E008@comcast.net>
Date: 2009-03-14T19:26:19Z
From: David Winsemius
Subject: persp plot + plotting grid lines
In-Reply-To: <83dca7860903140902y5d867b2akfb5d1a22b60ea8f0@mail.gmail.com>

On Mar 14, 2009, at 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
> Thanks
> PM

I also see that Ben Bolker offered such code to those who requested it  
in this r-help posting from a year or so ago. You might try emailing  
him. Also note that Deepayan Sarkar suggested wireframe might be  
easier to work with.

http://finzi.psych.upenn.edu/R/Rhelp02/archive/116908.html

-- 

David Winsemius, MD
Heritage Laboratories
West Hartford, CT