Tiny Axis

This function shows the orientation of the provided axes plot in the lower left corner.
501 Downloads
Updated 14 Aug 2011

View License

This function shows the orientation of the provided axes plot in the lower left corner. This way the orientation can still be seen when the axis are disabled.

At the moment the code is not very advanced. But it might still be usefull to some people.

example:
f = figure('Color',[0.3 0.3 0.32]);
h = axes('Parent',f);
surf(X,Y,Z,'Parent',h);
axis(h,'off');
tinyaxis(h,'r','g','b');

input:
tinyaxis(h,c1,c2,c3);
h - handle of the axes
c1 - x direction color
c2 - y direction color
c3 - z direction color

Cite As

Jeroen van Nugteren (2024). Tiny Axis (https://www.mathworks.com/matlabcentral/fileexchange/32168-tiny-axis), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Lighting, Transparency, and Shading in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

The 'current axes' are now left untouched by this function.

1.1.0.0

*Handle visibility of the axes was set to off. This way accidental plots inside the corner axes are prevented.

1.0.0.0