matlab: figure size, same axis size

Posted by Art on Stack Overflow See other posts from Stack Overflow or by Art
Published on 2012-11-02T04:59:05Z Indexed on 2012/11/02 4:59 UTC
Read the original article Hit count: 302

Filed under:
|
|
|

I have a figure with fixed size, like that:

hFig = figure(1);
set(hFig, 'Position', [200 200 500 500])

But the thing is, that I want to have my AXIS with fixed size (i want them to be a square), not (necessary) the whole figure... - see image attached, Y axis is a bit longer than X axis (of course longer in a meaning of display... X and Y axis range is set to the same value). How to adjust it?

Thanks!

particle trajectory

© Stack Overflow or respective owner

Related posts about matlab

Related posts about resize