Finding max and min value in a contour plot
9 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
Image Analyst
2016-10-16
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 ?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Contour Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!