Re: [R] how to add points/lines to a surface plot

2009-02-10 Thread David Winsemius
In this case, following your instructions and a bit of noodling with the example "solves" the problem with: persp(teta1, teta2, matrixMuSigma) -> res points(trans3d( teta1, sigmaMax, apply(matrixMuSigma, 1, max), pmat=res), col="red") -- David Winsemius On Feb 10, 2009, at 11:50 AM, Uwe Li

Re: [R] how to add points/lines to a surface plot

2009-02-10 Thread Uwe Ligges
See ?persp, particularly the example that starts with # (2) Add to existing persp plot - using trans3d() : Uwe Ligges Domenico Vistocco wrote: Dear All, is there a way to superimpose points and/or lines on a surface plot? Below I try to explain my problem. Suppose I have the following surfac

[R] how to add points/lines to a surface plot

2009-02-10 Thread Domenico Vistocco
Dear All, is there a way to superimpose points and/or lines on a surface plot? Below I try to explain my problem. Suppose I have the following surface plot (likelikood for the normal variable when both parameters are unknown): ---