Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

options.axis_propval{end+1}.property = 'YLim';
options.axis_propval{end}.value = [-1.5 3.5];

Save the file. To apply, open all the figures you want to adjust, in the same instance of MATLAB. Then run the function by typing at the command prompt:

>>fig_numberedfigures_axesoptions

All the axes in the open figures will be set to the new range.