Personal IDL library for M. Galloy

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



top mg_decomposed

mg_decomposed, dec [, old_decomposed=long]

Set the decomposed mode, if available in the current graphics device i.e. equivalent to:

device, get_decomposed=oldDec device, decomposed=dec
The main advantage of this routine is that it can be used with any graphics device; it will be ignored in devices which don't support it.

This routine uses IDL 7.1 functionality for the PS device, but fails gracefully if the IDL version is less than 7.1.


dec in required type=long

decomposed mode: 0 for indexed color, 1 for decomposed color


old_decomposed out optional type=long

decomposed mode before mode is changed (only available in X and WIN graphics devices)

Other attributes


IDL 7.1

File attributes

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