Removing extra white space on figure

12 vues (au cours des 30 derniers jours)
Elham
Elham le 26 Juil 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.

Réponse acceptée

Francesco Pignatelli
Francesco Pignatelli le 26 Juil 2022
When plotting, you can set after the plot command, the following:
ylim([0 valuethatyouwant])
  5 commentaires
Elham
Elham le 26 Juil 2022
Just changed the axes properties and it seems to be working fine now, thank you @Francesco Pignatelli !!
Francesco Pignatelli
Francesco Pignatelli le 26 Juil 2022
Glad to hear it! My pleasure :)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Performance dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by