vic

PURPOSE ^

VIC - plot velocities

SYNOPSIS ^

function vic(index,x,y,v1,v2,col,num)

DESCRIPTION ^

VIC - plot velocities

   This function plots a field of values mapped on a triangulation.
   Input: index,x,y,field,#of the window   
   This routine seems to be obsolete... move to Trash?

   Usage:
      vic(index,x,y,v1,v2,col,num)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function vic(index,x,y,v1,v2,col,num)
0002 %VIC - plot velocities
0003 %
0004 %   This function plots a field of values mapped on a triangulation.
0005 %   Input: index,x,y,field,#of the window
0006 %   This routine seems to be obsolete... move to Trash?
0007 %
0008 %   Usage:
0009 %      vic(index,x,y,v1,v2,col,num)
0010 
0011 figure(num),clf
0012 subplot(2,2,1)
0013 trisurf(index,x,y,v1),shading interp, view(2),colorbar
0014 hold on,a=caxis;
0015 title(inputname(4))
0016 subplot(2,2,2)
0017 trisurf(index,x,y,v2),shading interp, view(2),caxis(a),colorbar
0018 title(inputname(5))
0019 
0020 hold on
0021 subplot(2,2,3)
0022 trisurf(index,x,y,v2-v1),shading interp, view(2),caxis(col),colorbar
0023 hold on
0024 a=[inputname(5) ' - ' inputname(4)];
0025 title(a)

Generated on Sun 29-Mar-2009 20:22:55 by m2html © 2003