From: henry wang on
Hi,

How do you change the axis in figures in GUIDE?

I tried
axes(handles.axes1);
axis([-1.5 1.5 -1.5 1.5]) in the .m code but that also enlarges the plot visually.

I also tried to change XLim, YLim in the property but again, that makes the plot look too huge for display.

Which property needs to be modified or how do I set the axis without enlarging the plot (after I run the GUI)

Thanks,
Henry
From: ImageAnalyst on
I'm not sure what you want to do. There are lots of ways to "change
the axis" or "set the axes" so those are very vague, ambiguous
descriptions. The axes() function sets the current graphics axis to
the one you specified. xlim() and ylim() set the range of the numbers
along the axes. set(handles.axes1, 'Position', x1y1WidthHeight) sets
the size of the controls in your figure window. And there are many
more ways to change, or change the appearance of, the axes. You said
you don't want to enlarge it but didn't say what you DO want to do.
What DO you want to do?