Why is xlim not working?
Afficher commentaires plus anciens
Hello! I am new to Matlab and am working on my first major assignment. I have a code that does almost everything I want, but my xlim is not properly setting my x axis limit. I initially had the xlim after the hold on function, but it did not format for the entire run. I now have it after the first plots and after every ginput() (as that was the fix i was recommended). It currently starts off with the incorrect x axis, and then formats to the range i want, but I would like it to fit within my range from beginning to end. What is the issue with my script that is causing this issue, and what can I do to fix it?
i attatched my script to this as a file. all help is appreciated!
1 commentaire
Lorie Ann
le 6 Nov 2025
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Graphics Object Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!