Home > hfrc > matlab > utility > m_velocity_arrow.m

m_velocity_arrow

PURPOSE ^

Usage: [arrow_handle, text_handle, location] = m_velocity_arrow( ...

SYNOPSIS ^

function [vh, th, orig] = m_velocity_arrow( vel, scale, units, orig,orientation, varargin )

DESCRIPTION ^

 Usage: [arrow_handle, text_handle, location] = m_velocity_arrow( ...
                  velocity, scale, units, location, orientation, varargin )

 vel is the velocity to plot.

 scale is how much to scale it (scale used for m_vec).

 units is a string with the units of the arrow (defaults to 'cm/s')

 if location is not given, ginput will be used to get one.  location is a
 lon,lat pair with the location of the end of the arrow.

 orientation is either 'horiz', 'vert', 'revhoriz' or 'revvert'
 (defaults to 'horiz').

 varargin are extra arguments to be passed to the m_quiver function.

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

     $Id: m_velocity_arrow.m,v 1.4 2006-06-30 18:50:12 dmk Exp $    

 Copyright (C) 2006 David M. Kaplan
 Licence: GPL (Gnu Public License)

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

CROSS-REFERENCE INFORMATION ^

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