topclickincell
Grid
Return value
the index of the selected cells regarding to the grid which
is in memory in the variable of the common. If /ij keyword is
activated give 2D array (2, n) which are the i,j position of the
n selected cells.
Keywords
CELLTYPE
DRAWCELL
COLOR
ORIGINAL
IJ
Examples
IDL> res = clickincell()
Click with the left button to select a cell. Clicking one more
time in the same cell remove the cell from the selection.
Click on the right button to quit.
IDL> plt, findgen(jpi,jpj),/nodata,map=[90,0,0],/ortho
IDL> print, clickincell(/draw,color=150,/xy)
Version history
Version
$Id: clickincell.pro 372 2008-08-08 12:31:53Z pinsard $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
August 2003
Other attributes
Uses routines
Statistics
McCabe cyclic | 33 |
McCabe essential | 8 |
McCabe modular design | 1 |