Home > hfrc > matlab > utility > m_colordot.m

m_colordot

PURPOSE ^

M_COLORDOT - plots dots using colormap

SYNOPSIS ^

function dh = m_colordot( x, y, c, clim, varargin )

DESCRIPTION ^

 M_COLORDOT - plots dots using colormap

 Usage: dot_handles = m_colordot( x, y, cval, clim, ... )

 where cval are the values to use for coloring the dots.  clim specify
 the limits of the color axis.  If not given, clim defaults to the min
 and max of cval.

 ... are further arguments to the m_line function.

 dot_handles is a vector of handles to the dots in the plot.

 Coloring is done using the current colormap.  The colorbar function can
 be used to add a colorbar.  Changing the colormap will not change the
 color of the dots, as it changes the color of surfaces.  Changing the
 color axis (caxis), will also have no effect on the dot colors.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

     $Id: m_colordot.m,v 1.1 2006-06-20 00:51:27 dmk Exp $    

 Copyright (C) 2001 David M. Kaplan
 Licence: GPL

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 18-Dec-2006 07:26:46 by m2html © 2003