Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SSS148 on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

fixex axes in matlab gui

Status
Not open for further replies.

alexrait1

Computer
Aug 24, 2004
1
hello,
When I plot some kind of animation on a figure, the axes are resized whenever the dimension of the object changes.
can I have it fixed to some size? I use matlab gui, but I don't find the correct property.
 
Replies continue below

Recommended for you

Code:
axis manual
freezes the axis to the current settings
 
The appropriate axis properties are 'XLimMode', 'YLimMode' and 'ZLimMode' which should all be set to 'manual'.

After you have done that, you can set the axis limits using the 'XLim', 'YLim' and 'ZLim' axis properties which are in the 2 element vector form [min, max]

M

--
Dr Michael F Platten
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor