Skip to content
Back to formatted view

Raw Message

Message-ID: <0A73A70376E.000003B0bearmarketsrule@inbox.com>
Date: 2009-03-12T05:26:51Z
From: Rob Denniker
Subject: can I draw 3D plot like this using R?
In-Reply-To: <1ee568a5-ccdc-4009-b94e-8192611f9acd@q11g2000yqh.googlegroups.com>

Sure, you can do that. Check out wireframe() in the lattice library. 

> -----Original Message-----
> From: fwang2 at gmail.com
> Sent: Wed, 11 Mar 2009 20:35:22 -0700 (PDT)
> To: r-help at r-project.org
> Subject: [R] can I draw 3D plot like this using R?
> 
> hi, all
> 
> I am looking at R package RGL to draw a colored mesh/surface plot like
> this one (from matlab).
> http://www.mathworks.com/access/helpdesk/help/techdoc/visualize/cbar.gif
> 
> The key features I am looking for is surfaced with grid and color, but
> not the terrain-like gradient.  but I didn't come even close to it
> after browsing through rgl help file.
> 
> have anyone drawn something like this before, is this doable afterall?
> 
> thanks
> 
> Oliver
> 
> ______________________________________________
> R-help at 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.