Stop autoscaling when using the simulation data inspector

10 visualizaciones (últimos 30 días)
richard
richard el 21 de Feb. de 2023
Respondida: Animesh el 7 de Mzo. de 2023
I am using the simulation data inspector to plot up to 10 waveforms of a simulink simulation. Sometimes, I want to manually zoom in on a section of the plot, and then I want to remove certain graphs for better comparison. When I add certain plots back in, the simulation data inspector automatically rescales the plot axes.
--> How do I stop the simulation data inspector from automatically scaling the axes? If I set the axes manually (using the "Zoom" magnifying glass), I want the settings to "stick".

Respuesta aceptada

Animesh
Animesh el 7 de Mzo. de 2023
Hello,
The behaviour you are experiencing is the default behaviour of the Simulation Data Inspector. When you add or remove signals to a plot, the plot axes are automatically rescaled to accommodate the new signals. However, you can disable this behaviour and manually control the plot axes.
To disable the automatic rescaling of plot axes:
  1. Go to the " Preferences" menu in the Simulation Data Inspector.
  2. In the "Preferences" dialog box, go to the "Inspect" tab.
  3. Select “Do not scale axes limits when plotting new signals”.
  4. Close "Preferences" window.
This should disable automatic scaling when plotting new signals.

Más respuestas (0)

Categorías

Más información sobre Analyze Simulation Results en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by