How to undo axis(gca,'image')
5 ビュー (過去 30 日間)
古いコメントを表示
I use imagesc to show a demo:
imagesc % a photo shows, with blank on top, stretchable by the resize of the window

axis(gca,'image')% the photo is locked to 1:1 pixel size and the axe limit fix to the entire image, not stretchable even resize the window

axis(gca,'auto')% the blank on top come back, but no longer stretchable by the resize of the window

Is there a way to reset to the initial version that stretchable?
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Read, Write, and Modify Image についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!