Removing extra white space on figure
7 views (last 30 days)
Show older comments
Elham
on 26 Jul 2022
Commented: Francesco Pignatelli
on 26 Jul 2022
Is there a way to get rid of the extra space below the spectrum so that it starts at 0? This seems to only occur for some of the figures I plot.
0 Comments
Accepted Answer
Francesco Pignatelli
on 26 Jul 2022
When plotting, you can set after the plot command, the following:
ylim([0 valuethatyouwant])
5 Comments
More Answers (0)
See Also
Categories
Find more on Function Creation 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!