[R] Symmetric persp()-plot

Thomas Cornelius corneliu at th.physik.uni-frankfurt.de
Fri Jun 28 11:03:10 CEST 2002


I uses R mainly for the visualisation of data (persp,contour, ...) and
have the following problem:

I have a spherical symmetric object (values only depend on the radius)
where the funcion f(radius) is
not known exactly. My table looks like this:

radius  value
  0            5
  0.5         4
  1            3.5
 ...             ...

How can I plot these table with persp()? Is there a function which
generates me an array (in the
x-y-plane) for an 3d-Plot?

Thanks in advance


Thomas Cornelius

Institut fuer Theoretische Physik
J.W.Goethe Universitaet
Robert-Mayer-Str. 8-10                 Phone : [+49]-69-798-22552
D-60054 Frankfurt am Main              Fax   : [+49]-69-798-28350

eMail : corneliu at th.physik.uni-frankfurt.de

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list