The Close method destroys the graphic window and all of the contained graphics and annotations.
Tip: To completely free all of the resources used by the graphic window you should always call the Close method or click the close window button on the widget. Calling obj_destroy or calling the Delete or Erase methods will not free all of the objects.
Note: After this method is called, all references to the window object and the contained graphics objects will be invalid, and should not be used.
Example
plot = PLOT(/TEST)
plot.Close
Syntax
graphic.Close
Arguments
None
Keywords
None
Version History
See Also
Erase Method, GETWINDOWS, WINDOW