Removing extra white space on figure

7 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Function Creation in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by