[R] surface plotting

Duncan Murdoch murdoch at stats.uwo.ca
Mon Jun 16 22:40:56 CEST 2008


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



More information about the R-help mailing list