auto plot scaling in one axis

10 views (last 30 days)
Andrew
Andrew on 26 Sep 2013
Answered: Azzi Abdelmalek on 26 Sep 2013
I need to make a plot with a defined xmin and xmax, but I need the y axis to be scaled as if the axis scaling was on auto. So basically how do I auto scale only one axis?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 26 Sep 2013
xlim([xmin xmax])

More Answers (0)

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!