Filter löschen
Filter löschen

Contour plot question: can I create more than one contour value line?

1 Ansicht (letzte 30 Tage)
Auryn_
Auryn_ am 18 Jan. 2017
Hello, In the script:
x = -3:0.125:3;
y = -3:0.125:3;
[X,Y] = meshgrid(x,y);
Z = peaks(X,Y);
v = [1,1];
figure
contour(X,Y,Z,v),
is it possible to add more values contour lines (for example v = [2,2]) in the same figure? Thanks in advance for your reply.

Antworten (0)

Kategorien

Mehr zu Contour Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by