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

4 ビュー (過去 30 日間)
rahul
rahul 2024 年 2 月 14 日
回答済み: Voss 2024 年 2 月 14 日
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 Center および File ExchangeSurface and Mesh Plots についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by