フィルターのクリア

how to plot an iso-line on pcolor graph

9 ビュー (過去 30 日間)
Marianne
Marianne 2017 年 11 月 28 日
コメント済み: Marianne 2017 年 11 月 28 日
Hello, I have to vectors A(size 100) and D (size 100) and a matrix(100x100) in which I have all the value of a function T = f(A,D) for 100 value of A and 100 values of D. I plot a pcolor graph with :
pcolor(D,A,T)
and I'd like to draw an iso-line on this graph representing T = Tlim
Does anyone knows how to do that ?

採用された回答

Walter Roberson
Walter Roberson 2017 年 11 月 28 日
編集済み: Walter Roberson 2017 年 11 月 28 日
hold on
contour(D, A, T, [Tlim Tlim]);
hold off
Using the same number twice is a "trick": if you had only given
contour(D, A, T, Tlim);
then it would try to interpret Tlim as the number of contours to draw.
  1 件のコメント
Marianne
Marianne 2017 年 11 月 28 日
Thank you very much it works

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by