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

Home » Public Forums » archive » color plot in window
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
color plot in window [message #62899] Mon, 13 October 2008 12:23
adisn123 is currently offline  adisn123
Messages: 44
Registered: July 2006
Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Find Closest Coincident Measurements In Time And Space Between Two Data Sets
Next Topic: The problem of the PostScript font sysytem

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

Current Time: Wed Oct 08 15:39:22 PDT 2025

Total time taken to generate the page: 0.00486 seconds