PICK

Xwindows

 When running under X windows, mouse button 2 toggles the continuous
 display of the graphics cursor location. The PHYSICA keyword CUNITS is
 the units type for these numbers. If CUNITS = WORLD, the numbers depend
 on the current units type, either CM or IN, as chosen with SET UNITS.
 If CUNITS = GRAPH, the numbers displayed depend on the current graph
 axis scales. If CUNITS = PERCENT, the numbers depend on the current window.

code_keys

  key  action 
  -----------------------------------------------------------------
   D   digitize the current crosshair position and display the
       coordinates corresponding to that location
   R   same as D, but also record the coordinates, in graph units,
       of that location in the optional vectors xout and yout,
       record the interpolated value of curve ni in vector yi. 
       The number of recorded points is displayed
       (under X, mouse button 1 is the same as R)
   M   same as R, but place a marker at the recorded location
   C   same as M, but also connect that point with a line
       segment to the last recorded point
   Q   quit picking points

NPTS

 Syntax: PICK\NPTS num xout yout { y1 { n1 } y2 { n2 } ... }
 Defaults: \NONPTS

 If the \NPTS qualifier is used, the first command parameter is assumed
 to be the maximum number of points that will be recorded.  The command
 will automatically stop when num points have been recorded.

DISPLAY

 Default:  \DISPLAY

 By default, the key code menu is displayed in the terminal window, and
 the (x,y) locations of the points chosen are also displayed.  Use the
 \-DISPLAY qualifier to turn these displayed messages off.  This only 
 applies to the default PICK, that is, picking points off a graph which
 is currently displayed on the monitor screen. It does not apply with the
 \MATRIX, \POLYGON, or \COUNTS qualifiers.

automatic_digitizing

 Syntax: PICK xout yout y1 { n1 } y2 { n2 } ...
         PICK\NPTS num xout yout y1 { n1 } y2 { n2 } ...

 It is possible to automatically digitize points off of previously
 drawn data curves by making use of the optional parameters  yI
 (vector name) and nI (number).  Assuming that the total number of
 curves that have been plotted on the currently displayed graph is at
 least nI, then the coordinate corresponding to the horizontal
 (independent) location of the crosshair will be interpolated on the 
 nI_th curve and saved in the vector yI. Linear interpolation is
 used, and extrapolation is allowed. If the number nI is not present
 following the vector yI, then nI defaults to I.

Additional Information on:

  • 1_example
  • 2_example
  • POLYGON

     Syntax: PICK\POLYGON xp yp
    
     The \POLYGON qualifier indicates that you are picking vertex points
     for a polygon. A final point is added after you quit picking,
     which will be the same as the first point picked, thus closing the
     polygon.
    

    MATRIX

     Syntax: PICK\MATRIX  nrow ncol mxout myout
             PICK\MATRIX\MIN { xin yin } matrix mxout myout
             PICK\MATRIX\MAX { xin yin } matrix mxout myout
     Defaults: xin = [1;2;3;...], yin = [1;2;3;...]
    
     The PICK\MATRIX command allows the user to pick points off the screen
     using the graphics crosshair. The x coordinates of the points are placed
     in matrix mxout, while the y coordinates are placed in matrix myout. You
     must specify the size of these output matrices in nrow, the number of
     rows, and ncol, the number of columns. Both mxout and myout will be
     created with the same dimensions. This feature was included to be used
     in conjunction with the BIN2D\MATRIX command.
    

    Additional Information on:

  • MIN
  • MAX
  • COUNTS

     PICK\COUNTS { xin } ydata counts
     Defaults: xin = [1;2;3;...]
    
     The PICK\COUNTS command allows the user to pick pairs of points off the
     screen and the number of counts of the vector ydata inside that region
     will be displayed on the screen and stored in the output vector, counts.
     The input vector xin should contain the x coordinates for the data yin.
     xin defaults to [1;2;3;...] if not entered.
    

    Additional Information on:

  • MATRIX