comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Help with plots (newbie)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Help with plots (newbie) [message #6957] Mon, 09 September 1996 00:00
Robert Moss is currently offline  Robert Moss
Messages: 74
Registered: February 1996
Member
James Albert wrote:
>
> 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

I'm not sure you have provided enough information here, but based on
what you have told us, I wonder which color table you are using. If you
are using the default grayscale, you are probably plotting and just
cannot see it because it is too dark. A quick check would be to simply
remove the COLOR=13 bit from your plots command and let it default to
the top of the color table.. then you should get white on black.

There's lots of other things is _could_ be.. if you still have trouble,
post the (simplified) code and I'm sure someone can help you.

--
Robert M. Moss, Ph.D. - mossrm@texaco.com - FAX (713)954-6911
------------------------------------------------------------ -----
This does not necessarily reflect the opinions of Texaco Inc.
[Message index]
 
Read Message
Previous Topic: Mask ?
Next Topic: Re: bitplanes

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:23:08 PDT 2025

Total time taken to generate the page: 0.00401 seconds