[R] persp graphs
Uwe Ligges
ligges at statistik.uni-dortmund.de
Sat Sep 20 18:18:37 CEST 2003
Mario Alberto Cozzuol wrote:
>
> Hi,
> I am doing my way on R, with much experimenting. So, I am trying to plot a 3d
> graphic ussing "persp" and entering a data set (attached) of UTM coordinates
> as x,y and a pH values as z. However when I try an error message comes out
> telling that increasing x and y values are expected. Jus ordering the first
> vector does not help, and, of course, order the first two independently makes
> no sense since they are geographic coordinates. So, what I am doing wrong?
> Thank you all very much for the help,
So you are not going to plot a surface, but "just" a set of points? In
that case persp() is inadequate. For example you can use cloud() in
package lattice, scatterplot3d() in package "scatterplot3d", the
packages djmrgl and rgl, or xgobi or ggobi as external software.
Uwe Ligges
> Mario
> --
> Dr. Mario A. Cozzuol
> Laboratório de Biologia Evolutiva
> Universidade Federal de Rondônia
> BR 364, Km 9,5
> 78900-000 Porto Velho, RO
> Brasil
> Tel./Fax 55 69 217-8593
> E-mail mario at unir.br
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
More information about the R-help
mailing list