The Select method changes the selection of items in the graphic window and brings the window to the front.
Example
p1 = PLOT(/TEST)
p2 = PLOT(randomu(seed,150), /OVERPLOT)
p1.Select
p = PLOT(/TEST)
c = CONTOUR(/TEST)
p.window.Select
Syntax
graphic.Select [, /ADD] [, /ALL] [, /CLEAR] [, /TOGGLE] [, /UNSELECT]
Arguments
None
Keywords
ADD
Set this keyword to 1 to add the graphic to the current set of selections. The default behavior is to replace the current selection set with the selected item.
ALL
Set this keyword to 1 to select everything within the graphic window.
CLEAR
Set this keyword to 1 to unselect all of the currently selected items.
TOGGLE
Set this keyword to 1 to toggle the selection state of the graphic - if the graphic was not selected then it will become selected, and vice versa.
UNSELECT
Set this keyword to 1 to unselect the graphic, leaving the rest of the selections unchanged.
Version History
See Also
GetSelect Method,
GETWINDOWS,
Order Method,
Using IDL Graphics