How to change the axis limits?
Show older comments
Hi, I have been trying to reverse engineer a vehicle model and to check if I get back a similar response by creating my own model. Now, my model has got the response as expected but with a different y-axis limits. So I'm trying to change the limits as in the model's response that was reverse engineered to make the outputs seem exactly the same.
But I was not able to do that since when I changed the y-axis limits using the command- axis([xmin xmax ymin ymax]) ,I get a different response.
For instance, the y-axis limits in the response of my model is [-2 to 14]*10^-4 and the y-axis limits in the response of the model being reverse engineered is [-14 to 4]*10^-4, which is the limit I want to use for my model. Could you please help me with this.
1 Comment
Jan
on 19 Jan 2014
The question is not clear.
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 19 Jan 2014
ylim([-14 4]*1e-4)
2 Comments
Priya
on 20 Jan 2014
Andreas Goser
on 20 Jan 2014
Then please create and post an example.
Categories
Find more on General Applications 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!