Tiny Axis
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
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Formatting and Annotation > 3-D Scene Control > Lighting, Transparency, and Shading >
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.