image thumbnail

SeparateAxes

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

94 Downloads

Updated 02 Nov 2017

From 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 (2021). 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!
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.