Skip to content
Prev 169943 / 398506 Next

how to add points/lines to a surface plot

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")