File Exchange

image thumbnail

SeparateAxes

version 1.1.0.0 (5.86 KB) by Dylan Muir
Change the visual appearance of a figure axis, by separating the axes at the origin.

1 Download

Updated 02 Nov 2017

GitHub view license on GitHub

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 (2020). SeparateAxes (https://github.com/DylanMuir/SeparateAxes), GitHub. Retrieved .

Comments and Ratings (1)

Simon Henin

Updates

1.1.0.0

Updated description

1.1.0.0

Updated description

1.1.0.0

Updated description

1.1.0.0

Updated description

1.1.0.0

Updated description

1.1.0.0

Updated description

1.1.0.0

Added usage

1.0.0.0

Fixed title

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