mglib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

vis/directgraphics/

mgdgvars__define.pro

includes main-level program

Object to save/restore direct graphics system variables. This is needed when using multiple graphics windows and it is necessary to use the coordinate system of a window which does not contain the last item plotted. For example, this happens when using WSET to change to a graphics window containing a plot (but not the most recently plotted) and overplotting or using CONVERT_COORD with the coordinate system of that window.

Examples

See the main-level example program at the end of the file:

IDL> .run mgdgvars__define

Class description for mgdgvars

Routines

Routines from mgdgvars__define.pro

mgdgvars::save

Save direct graphics system variables.

mgdgvars::restore

Restore direct graphics system variables.

mgdgvars::cleanup

Free resources.

result = mgdgvars::init()

Create an mgdgvars object.

mgdgvars__define

Define member variables.

Routine details

top mgdgvars::save

mgdgvars::save

Save direct graphics system variables.

top mgdgvars::restore

mgdgvars::restore

Restore direct graphics system variables.

top mgdgvars::cleanup

mgdgvars::cleanup

Free resources.

top mgdgvars::init

result = mgdgvars::init()

Create an mgdgvars object.

Return value

1B for success, 0B otherwise

top mgdgvars__define

mgdgvars__define

Define member variables.

File attributes

Modification date: Wed May 14 15:07:15 2014
Lines: 53
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.