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 #65557 is a reply to message #65556] Sun, 08 March 2009 21:29 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
edwinretana@gmail.com writes:

> The program already has set RETAIN =3D 2, when WIDGET_DRAW is called.
>
> wAreaDraw =3D WIDGET_DRAW(wRightBase, XSIZE=3DdrawXSize, YSIZE=3DdrawYSize,
> RETAIN=3D2)
>
> PD : I am using the d_plot2d.pro program that is included in the IDL
> Demos.

Ah, I see.

Yes, well, ITTVIS assumes you will be running a crippled
graphics card. Try these two commands:

IDL> Device, Decomposed=0
IDL> d_plot2d

This is really an inexcusable programming error for a demo
system, in my opinion. Please don't use this code as an
example of how IDL programs are suppose to be written. You
can find MUCH better IDL code elsewhere on the Internet. :-)

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: Sun Oct 12 04:22:01 PDT 2025

Total time taken to generate the page: 3.27882 seconds