Site hosted by Angelfire.com: Build your free website today!

directedplot

PURPOSE ^

DIRECTEDPLOT Plot with directions

SYNOPSIS ^

function [h1,h2] = directedplot(x,y,d,varargin)

DESCRIPTION ^

 DIRECTEDPLOT Plot with directions

   DIRECTEDPLOT(X,Y) plots vector Y versus vector X, with arrows on 
   alternative points. If X or Y is a matrix, then the vector is plotted
   versus the rows or columns of the matrix,whichever line up.  
   DIRECTEDPLOT(X,Y,N) places arrows on each N-th point, starting from the 
   first.
   DIRECTEDPLOT(X,Y,N,LINESPEC) uses the plot linestyle specified for the
   plots and the arrows. See PLOT for other possibilities.
   [H1,H2] = DIRECTEDPLOT(...) also returns the handles for the plot and
   the arrows

 Example:
 x = linspace(0,2*pi,10)';
 y = [cos(x) sin(x)];
 [h1,h2] = directedplot(x,y);
 axis equal

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^


Generated on Sat 12-Mar-2005 01:01:49 by Rezaul Karim © 2004