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

8 次查看(过去 30 天)
My Z axis is the output where I need waveform interpolation with operating points.

回答(1 个)

Voss
Voss 2024-2-14
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)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by