Is there any method to specifically point few operating points in 3D surf ?

Answers (1)

Maybe this is helpful:
% make a surface using surf()
N = 10;
X = 1:N;
Y = 1:N;
Z = peaks(N);
surf(X,Y,Z)
% pick some points to highlight
idx = Z > 2;
% plot those points using plot3()
hold on
[r,c] = find(idx);
plot3(X(c),Y(r),Z(idx),'.r','MarkerSize',12)

Products

Release

R2019b

Asked:

on 14 Feb 2024

Answered:

on 14 Feb 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!