Preeti Iyer
2010-Feb-22 16:21 UTC
[R] Re : how to plot select points in preexisting persp plot
Hello, I am trying to plot selected data points to a preexisting persp plot that satisfies a condition. I used the following statement - text(coords[,1], coords[,2], names(act[which(act > 8.75)]), cex=0.7) But I get all the points labeled, instead of the points that satisfy the condition specified. Is there any way to plot only the points I want? Also can this be done using "trans3d" function. I found no topics pertaining to this issue. Regards, Preeti
Hrishi Mittal
2010-Feb-22 17:45 UTC
[R] Re : how to plot select points in preexisting persp plot
Preeti, Could you please post a sample of your data and all the code? It is hard to answer your question without knowing what "coords" and "act" are ----- Try http://prettygraph.com Pretty Graph , the easiest way to make R-powered graphs on the web. -- View this message in context: http://n4.nabble.com/Re-how-to-plot-select-points-in-preexisting-persp-plot-tp1564808p1564839.html Sent from the R help mailing list archive at Nabble.com.
Preeti Iyer
2010-Feb-23 11:01 UTC
[R] Re : how to plot select points in preexisting persp plot
Hello, I have a set of points (x and y coordinates) generated by multidimensional scaling function (isoMDS) . The z-axis coordinates consists of a set of values for each of these x and y coordinates. I use persp function to give a surface. What I would like to know is, how I can use the z-coordinates to plot a text label for select points on this surface? Hope it is clearer now. Regards, Preeti