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

Home » Public Forums » archive » Re: Black Widgets Draw Window in d_plot2d and d_gridding
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: Black Widgets Draw Window in d_plot2d and d_gridding [message #65562 is a reply to message #65558] Sun, 08 March 2009 17:07 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
edwinretana@gmail.com writes:

> This is my first message here.
>
> When I try to run the programs d_plot2d.pro and d_gridding.pro the
> widget draw is all black,, I can see the sliders and bottons also when
> I press the new data botton nothing happens.
>
> I'm using Ubuntu 8.10 and Idl 7.06
>
> So there's a problem with my X server configuration or something
> else ?

Typically, you need to set RETAIN=2 for your
draw widgets on UNIX machines. When I create a draw
widget I usually write code like this:

IF N_Elements(retain) EQ 0 THEN $
retain=(!Version.OS_Family EQ 'Windows') ? 1 : 2
drawID = Widget_Draw(baseID, RETAIN=retain, ...)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: country outlines
Next Topic: Re: Plotting over a lunar map

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

Current Time: Sat Oct 11 23:19:35 PDT 2025

Total time taken to generate the page: 1.11906 seconds