/
Utilities

Utilities

Tidying Figure Axes and Other Options

There are a couple of functions that can apply common settings to all axes in open, numbered figures (i.e., figures that have "Figure 1/2/3..." at the start of their name).

fig_numberedfigures_axesoptions

At the MATLAB command, type

>>edit fig_numberedfigures_axesoptions

This line changes the Y axes min and max

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.

Related content

Extract data from plot
Extract data from plot
More like this
Network Installation
Network Installation
More like this
Make image from Excel
Make image from Excel
More like this
MATLAB Startup
MATLAB Startup
More like this
Add Toolbar Command (with Examples)
Add Toolbar Command (with Examples)
More like this
Format of MATLAB files exported from AcqKnowledge
Format of MATLAB files exported from AcqKnowledge
More like this