Home > chronux_2_00 > spikesort > utility > graphicstyles > top.m

top

PURPOSE ^

TOP Simplifies 3-D axes.

SYNOPSIS ^

function top

DESCRIPTION ^

TOP               Simplifies 3-D axes.
   TOP deletes all lights in the current axes, turns off interpolated 
   shading, and sets the view to overhead so that the surface looks like
   an image.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function top
0002 %TOP               Simplifies 3-D axes.
0003 %   TOP deletes all lights in the current axes, turns off interpolated
0004 %   shading, and sets the view to overhead so that the surface looks like
0005 %   an image.
0006 
0007 delete(findobj(gca, 'Type', 'light'));
0008 shading flat;    
0009 lighting phong;     % otherwise you see seams in the surface.
0010 view([0,90]);

Generated on Fri 15-Aug-2008 11:35:42 by m2html © 2003