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

dispcoord1

PURPOSE ^

DispCoord1(MODE) show the coordinate of the point on the 2D or 3D in 2 mode:

SYNOPSIS ^

function dispcoord1(Mode)

DESCRIPTION ^

   DispCoord1(MODE) show the coordinate of the point on the 2D or 3D in 2 mode:
   Mode=1, show in format (x,y) or (x,y)=z whenever you click a mouse button at one point;
   Mode=2, show in format (x,y) or (x,y)=z in the mouse pointer trace when you move it.
   Values are shown with 3 decimals.
   Usage Examples,
   x = -pi:.1:pi;
   y = sin(x);
   plot(x,y)
   DispCoord1(2);   

   [X,Y] = meshgrid(-3:.125:3);
   Z = peaks(X,Y);
   meshc(X,Y,Z);
   DispCoord1(1);

   Right Click To Exit from display Coordinates
--------------------------------------------------------------------------------------------
run dispcoorgui;

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