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

Home » Public Forums » archive » Re: Altered device coordinates after first call
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: Altered device coordinates after first call [message #50831] Mon, 16 October 2006 12:25 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Juan Arrieta writes:

> Wow Dave, thanks a lot.
> Your suggestions (as expected) worked like a charm. I really
> appreciate them.

That's why I get paid the big bucks on this newsgroup. :-)
>
> It is much better, as you suggest, to first set up the plots, and them
> draw the frames and margins.
>
> Another situation is still freaking me out: after I run the code, the
> SECOND time the direct graphics appear yellow! (the first ones are
> white). I have nothing against that color, but I did not request it!
> This happens to me all the time, when I change the device and set it
> back. My device is "X".
>
> I will look into the yellow problem, but the code now works as
> expected.

If you are actually using a NASA logo, rather than what
you showed us here, I would guess that some colors get loaded
to show that image. A simple fix would just be to load a
color table first (this should probably be done *anyway*
if colors are important to you, and when are they NOT?):

LoadCT, 0, /Silent

> Many thanks, I owe you a beer (after all your suggestions, maybe I
> should get a keg :)

When I find a real job, we call ALL celebrate! :-)

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
Read Message
Previous Topic: Re: IImage Command Line
Next Topic: Re: IDL's built-in function DILATE and ERODE doesn't work as described in help

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

Current Time: Sat Oct 11 11:03:31 PDT 2025

Total time taken to generate the page: 1.05105 seconds