[R] persp, add lines/highlights

From: <jjorgensen_at_fastmail.fm>
Date: Tue 31 May 2005 - 06:53:47 EST

Hello R-sters,

I'm trying to add several lines to a response surface that I've plotted using persp(). I've tried lines() using the "trans3d" function but I've been unsuccessful in getting it to work (R v2.0.1). Essentially, I'm trying to highlight one or more of the surface wireframe lines in a bolder (or different) color. Any tips from those of you who have some experience with this would be greatly appreciated. [Would it be easier using wireframe() in library(lattice) instead?]

And, any suggestions on how to add text outside of the persp() plot next to the highlighted line would be much appreciated.


Jeff Jorgensen

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue May 31 06:57:48 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:16 EST