How to scale an axis of plot automatically

Hi , I have as loop that plots something and save it. In order to be easy to compare the results I want to scale the plot in the x axis so all of the plots can be comparable .
Cheers Khatereh

Answers (1)

Use the xlim() function to set up the limits of your x axis to some predetermined values.

Asked:

on 5 Dec 2011

Community Treasure Hunt

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

Start Hunting!