I have a figure with a fixed size, for example:
hFig = figure(1); set(hFig, 'Position', [200 200 500 500])
But the fact is, I want to have my AXIS with a fixed size (I want them to be a square), and not (necessarily) the whole picture ... - see the attached image, the Y axis is slightly longer than the X axis (of course , longer in the display value ... The range of the X and Y axes is set to the same value). How to configure it?
Thanks!

source share