[R] colored heights in 3D plot (persp)
Greg.Snow at intermountainmail.org
Thu Aug 2 22:32:40 CEST 2007
The persp function has a col argument that you can use to specify the colors.
From: "Juliane Willert" <juliane_willert at web.de>
To: "r-help at stat.math.ethz.ch" <r-help at stat.math.ethz.ch>
Sent: 7/26/07 12:55 AM
Subject: [R] colored heights in 3D plot (persp)
I have a matrix with measurement values and plot them with persp.
I want to highlight different heights in different colors. At least
everything above and under a certain z-level shall have a different
color to make the differences in height more obvious.
How can I do that or do I have to use another package?
R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help