[R] changing the surface coloring (using lattice::wireframe)

Smilyanov Georgi sgeorgi at student.ethz.ch
Thu Nov 21 23:43:34 CET 2013


Hi all,

I am using lattice::wireframe to create a surface. I need to change the coloring so that it depends on the x or y variable (instead of on z). How should this be done? The documentation says that the color is automatically chosen to depend on the height (e.g. z).

Thanks!
Georgi


More information about the R-help mailing list