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

Home » Public Forums » archive » Re: color plot in window
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: color plot in window [message #62898 is a reply to message #62897] Mon, 13 October 2008 12:34 Go to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Oct 13, 2:23 pm, adisn...@hotmail.com wrote:
> Hi,
>
> This should work but it does not, and I'm not sure what I'm doing
> wrong.
> 'd appreciate anyone who can answer to this!
>
> I'm trying to plot in colors in 8 bits.
> A simple version of my code follows as
>
> pro test
> device, decomposed =0
>
> x = indgen(100)
> y = sin(x)
>
> tvlct, 255,0,0, 100
> plot, x, y, background=255, color=100
>
> end
>
> It plots in a gray color, not in red.
>
> Anyone any idea?
> Thanks

What do you get from IDL> help, /device
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: The problem of the PostScript font sysytem
Next Topic: Re: The problem of the PostScript font sysytem

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

Current Time: Wed Oct 08 13:32:02 PDT 2025

Total time taken to generate the page: 0.00583 seconds