Change the visual appearance of a figure axis, by separating the axes at the origin.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). SeparateAxes (https://github.com/DylanMuir/SeparateAxes), GitHub. Retrieved .
General Information
- Version 1.1.0.0 (3.31 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.1.0.0 | Updated description
|
||
| 1.0.0.0 | Fixed title |
