Defining length of a x-axis
Show older comments
Is there some way to define the length of x-axis and y-axis on a graph? I'm ploting some complex data and I don't want to be shown the ones that are "far away" from zero.
Answers (1)
Azzi Abdelmalek
on 6 Feb 2016
xlim([x1 x2])
ylim([y1 y2])
2 Comments
Ljix
on 6 Feb 2016
Walter Roberson
on 7 Feb 2016
You can do it any time after the first plot.
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!