Image Display Commands:
The basic IDL direct graphics routines for opening, displaying, and adjusting image display windows are window , which creates a new window and sizes it; wset , which defines the "current" window; and wshow , which reveals (or hides) the current window. wdelete deletes a window. These routines are used in conjunction with the two basic image display routines tv and tvscl .
-
For instance, to open a 512x512 window with index number
9 at the lower right of your terminal display:
window,9,xpos=750,ypos=50,xsize=512,ysize=512,$ title='IDL IMAGE WINDOW' wset,9 wshow
(All of the arguments in the window routine are optional.) The basic tv and tvscl commands do not adjust the size of the current window to the size of the displayed array.
- Note: ctv and ctvscl are intended for 8-bit pseudo-color or 24-bit emulated pseudo-color displays only. They do not support true-color displays. If you want to display intrinsically true-color images, you must use tv and tvscl.