Why is xlim not working?
Show older comments
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!
Accepted Answer
More Answers (0)
Categories
Find more on Graphics Object Programming 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!