Extract Min and Max values from Contour Plot

16 ビュー (過去 30 日間)
Nathaniel Werner
Nathaniel Werner 2016 年 10 月 11 日
回答済み: Walter Roberson 2016 年 10 月 12 日
Hello,
I have a special function that creates a contour plot on the surface of cylinder. I would like to extract the minimum and maximum values from my contour plot because I would like to restrict the min and max values of other plots I make later to match ones from the first one for comparison purposes. Is there any way I could do this easily?

採用された回答

Walter Roberson
Walter Roberson 2016 年 10 月 12 日
You can access the ContourMatrix property of the contour plot if you are using R2014b or later. You can then use a routine such as c2xyz from the File Exchange to expand it into coordinates. You can then max() and min() as appropriate.

その他の回答 (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