Code covered by the BSD License  

Highlights from
Tiny Axis

Be the first to rate this file! 15 Downloads (last 30 days) File Size: 1.59 KB File ID: #32168
image thumbnail

Tiny Axis

by

 

11 Jul 2011 (Updated )

This function shows the orientation of the provided axes plot in the lower left corner.

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
11 Jul 2011

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

14 Aug 2011

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

Contact us