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

Home » Public Forums » archive » Re: PRINTER device changed in IDL 6
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: PRINTER device changed in IDL 6 [message #38298 is a reply to message #38297] Mon, 01 March 2004 11:40 Go to previous messageGo to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"David Fanning" <david@dfanning.com> wrote in message news:MPG.1aad3936a81870259896bf@news.frii.com...
> David Fanning writes:
>
>> Here is the test program:
>>
>> PRO Test
>> thisDevice = !D.Name
>> Set_Plot, 'PRINTER'
>> TVLCT, 255, 255, 0, 200
>> Set_Plot, thisDevice
>> END

I see the error too (IDL 6 - Win), and in fact TVLCT is always
broken after this call, even if I'm in my 'win' device. I have to reenter IDL
to be able to use it.
Perhaps (or more likely certainly) I am missing the point, but why load colours inside the
Printer device? I have always loaded the colors I want before I set the
set_plot device (usually because I load my very pretty colors in my startup file, and I
almost never change them). Simply reversing the order of the two calls (tvscl and set_plot)
makes the error go away.

Cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: amoeba/mpfit/etc with a quantized variable?
Next Topic: Statistic codes: Significance level

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

Current Time: Fri Oct 10 00:39:41 PDT 2025

Total time taken to generate the page: 0.08160 seconds