SeparateAxes
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
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Formatting and Annotation > Axes Appearance > Combine Multiple Plots > Subplots >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.1.0.0 | Updated description
|
|
|
1.0.0.0 | Fixed title |
|