How to plot a picture in squared sized using imagesc?
102 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Weiqian Jiang
am 25 Sep. 2016
Kommentiert: Weiqian Jiang
am 26 Sep. 2016
Hi there, i'm using imagesc to plot a colormap, in which the x/y data are equal in size, but when I plot it using imagesc, the output picture is always a rectangle rather than a square, I wonder how can I solve this problem,many thanks a lot!
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 25 Sep. 2016
Try different axes options until you get what you like, like
axis square;
axis equal;
axis image;
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!