hs_plot::cursor_within

Source: plotting/hs_plot__cursor_within.pro

 hs_plot::cursor_within
        Select the plot transform, within whose region the cursor
        lies.

 Usage:
        tform_index = pltref -> cursor_within( x, y)

 Arguments:
        x,y     float   input   Normalized cursor coordinates.

 Restriction:
        If the cursor is not in any region then the transforms are
        unchanged, and -1 is returned.

 History:
        Original: 1/6/94; SJT
        Converted to function & Plot object method: 5/6/00; SJT
        Use !x & !y regions to deal with !p.multi: 14/11/00; SJT



James Tappin 2005-02-04