Tiny Axis

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

Lizenz anzeigen

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

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R2011a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Lighting, Transparency, and Shading finden Sie in Help Center und MATLAB Answers
Tags Tags hinzufügen

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
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