Help with plots (newbie) [message #6970] |
Fri, 06 September 1996 00:00 |
James Albert
Messages: 4 Registered: September 1996
|
Junior Member |
|
|
Hi
I've been battering my brains for 4 hours now, trying to turn a pixel (any
pixel) on in a DRAW_WIDGET. This is my first attempt at RSI IDL
This is what I have done
-created a dialog box with WIDED, containing a DRAW4 widget, mouse events
enabled, no scroll
-saved the .WID file, created a .PRO file form WIDED's file menu
-changed the default case statement for DRAW events to
BEGIN
PLOTS, event.x, event.y, /NORMAL, COLOR=13
print, event.x, ' ', event.y
-compiled the PRO file from IDL
-ran the applet
The cursor positions (event.x,y) are printed, but no plotting is done
Can anyone help me?
--
James Albert
james@satlantic.com
|
|
|