Example: mdsw_noch.pro

mdsw_noch.pro is the smaller widget example derived from the larger PPPL mdsw.pro plotting tool. It is useful for studying widget layout, input handling, draw-widget plotting, and printer selection.

COMMON mdsw_noch_INPUTS, MDSserver, shot_num, signal_name

MDSserver = 'nstx'
shot_num = 89725
signal_name = '.waveforms:MB_IP_SL'

...
graphicsDrawID = WIDGET_DRAW(baseRow1, RETAIN=2, XSIZE=550, YSIZE=400)
...
XMANAGER, 'mdsw_noch', baseID, /NO_BLOCK