Trying to write video I need to set stable axes so they do not change while the plot frames change

4 views (last 30 days)
Trying write video I need to set stable axes so they do not change while the plot frames change.
How can I preset max and min values for x-axis and y-axis so that the plot axis' do not change.

Answers (1)

Walter Roberson
Walter Roberson on 14 Nov 2015
You can call axis() with the limits, or for more control you can set the axes properties XLim, YLim, and XLimMode and YLimMode; see http://www.mathworks.com/help/matlab/ref/axes-properties.html#property_xlimmode

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!