Finding max and min value in a contour plot

15 visualizzazioni (ultimi 30 giorni)
Huichen Zhang
Huichen Zhang il 16 Ott 2016
Risposto: Image Analyst il 16 Ott 2016
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!

Risposte (1)

Image Analyst
Image Analyst il 16 Ott 2016
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 ?

Categorie

Scopri di più su Contour Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by