Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Aug 24, 2004
Messages
1
Location
IL
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.
 
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

Back
Top