Autoscale settings in Simulink scope
83 views (last 30 days)
Show older comments
Manuel Gossen
on 24 Mar 2020
Commented: Manuel Gossen
on 25 Mar 2020
Hi all,
quite frequently I am working with signals which jump from one constant value to another over the course of the simulation time, so are mostly horizontal. When I then open a scope and press 'autoscale', because the signals have different ranges of values, big chunks of the signal 'disappear' in the upper or lower axis limit (mainly y-axis). That means that I have to adjust the limits manually every time to see the whole signal and not just a vertical line somewhere in the plot. (It gets annoying after a while)
Is there a way to (automatically or semi-automatically) insert some sort of margin at the top and at the bottom, when using autoscale, so that I can see the whole signal in my Simulink scope?
Or is there a suitable workaround?
Thank you in advance
Manuel
0 Comments
Accepted Answer
Ameer Hamza
on 24 Mar 2020
Autoscale should change the axis limits such that the complete signal is visible. If you are need manually scale axis every time even after clicking autoscale, then I suggest using the auto option for the axes scaling in the scope setting. In the scope window, go to View > Configuration Properties and in the axis scaling field, change from manual to auto. However, note that if you manually try to change the axis limits afterward, then this setting will revert to the manual.
5 Comments
Ameer Hamza
on 25 Mar 2020
In that case, I guess that this is an issue present in older versions of MATLAB. The only solution might be to update to a latest release.
More Answers (0)
See Also
Categories
Find more on General Applications 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!
