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
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
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- 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!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
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 |