How can I change the x-axis limit of recovered signal so that it becomes equal to x axis limit of input sampled sequence?following plots are as follows?
1 view (last 30 days)
Show older comments
Accepted Answer
Mike Garrity
on 3 Aug 2015
By default, the axis gets padded out to get nice round numbers for the ticks and make sure there are ticks at the ends. The command
axis tight
will get rid of the padding on both the X & Y axes. If you just want the X to be tight, then the following trick should work:
xlim([-inf inf])
More Answers (0)
See Also
Categories
Find more on Line 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!