SeparateAxes

Change the visual appearance of a figure axis, by separating the axes at the origin.
121 Downloads
Updated 2 Nov 2017

Matlab function to change the visual appearance of a figure axis, by separating the axes at the origin.

Usage: SeparateAxes
SeparateAxes(..., hAxis)
SeparateAxes(..., fProportion)
SeparateAxes(..., 'on')
SeparateAxes(..., 'off')
SeparateAxes provides a visual "improvement" to a 2D figure, by
offsetting the origin corner of the axes such that the axes no longer
touch.
By default, SeparateAxes will separate the current axes ('gca') by 0.025
of the existing axis limits. This will be updated whenever the contianing
figure is resized.

Optional arguments, which can be provided in any combination:
hAxis: The axis handle to separate (default: gca).
fProportion: The proportion of the axis length to separate by
(default: 0.025)
'on'/'off': If 'off' is specified, the axis separation will be
removed from the specified axes.

Cite As

Dylan Muir (2024). SeparateAxes (https://github.com/DylanMuir/SeparateAxes), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.1.0.0

Updated description
Added usage
Updated description
Updated description
Updated description
Updated description
Updated description

1.0.0.0

Fixed title

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.