Re: [R] surface plotting

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Mon, 16 Jun 2008 16:40:56 -0400

On 6/16/2008 4:25 PM, Floyd poole wrote:
> I am new to R and what to find out which package would be best to create a
> surface plot, 2d or 3d if possible. I have a matrix (depth.dat) which has
> over 15k depth measurements from an ultrasonic corrosion mapping
> application. These depth measurements only have one axis (x) but I have used
> Octave and gnuplot providing decent results, but R seems to have a web
> interface with PERL which is what I am looking for.

For static plots, scatterplot3d (in the scatterplot3d package) is best.   For rotatable surfaces, persp3d in the rgl package. (See example(persp3d) for some examples.)

Duncan Murdoch



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. Received on Mon 16 Jun 2008 - 21:02:57 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 16 Jun 2008 - 21:31:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive