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

2 vues (au cours des 30 derniers jours)
rahul
rahul le 14 Fév 2024
Réponse apportée : Voss le 14 Fév 2024
My Z axis is the output where I need waveform interpolation with operating points.

Réponses (1)

Voss
Voss le 14 Fév 2024
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)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by