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

1 回表示 (過去 30 日間)
Auryn_
Auryn_ 2017 年 1 月 18 日
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.

回答 (0 件)

カテゴリ

Help Center および File ExchangeContour Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by