Finding max and min value in a contour plot

Basically I am doing a contour plot for a 2D matrix. I want to find the exact value of the max and min value of the matrix. is it anyway to do it on contour plot directly? Thank you!

回答 (1 件)

Image Analyst
Image Analyst 2016 年 10 月 16 日

0 投票

Why not just get it from the matrix directly:
minIntensityValue = min(matrix2D(:));
maxIntensityValue = max(matrix2D(:));
Or did you mean the min and max x and y of the contour lines ?

カテゴリ

ヘルプ センター および File ExchangeContour Plots についてさらに検索

タグ

質問済み:

2016 年 10 月 16 日

回答済み:

2016 年 10 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by