With contour of image how to change x and y axis?
7 ビュー (過去 30 日間)
古いコメントを表示
I am plotting an contour of a matrix (image). How do I change the number of x and y axis to display angle values instead of pixel number?
If I know that 1 pixel is 0.135 mrad.
contour(imageslice)
with x-axis showing 1-30 pixel and y acis showing 1-70ish pixel.
Matrix consist of zeros and ones.
4 件のコメント
回答 (1 件)
Steven Lord
2024 年 12 月 11 日
As written you're using the contour(Z) syntax shown in the Syntax section on the contour function documentation page. The Description of that syntax states "The column and row indices of Z are the x and y coordinates in the plane, respectively."
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!