Skip to content

persp, add lines/highlights

1 message · Paul Murrell

#
Hi
Robin Hankin wrote:
persp() just draws the mesh from "back" to "front";  a sort of 
brute-force hidden-line removal.  R graphics has a simple "painters" 
model with later output overlaying previous output;  so you can only 
draw extra stuff on the "front" of a persp() plot.  If you want more 
sophisticated hidden-line removal you'll probably have to go to the rgl 
package (which does the real thing).

Paul