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

Home » Public Forums » archive » Re: set_plot,'PS' and accurate colors?
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: set_plot,'PS' and accurate colors? [message #33473 is a reply to message #33471] Wed, 08 January 2003 12:58 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
dave wrote:
>
> David Fanning wrote:
>
>> dave (knapp@rtt.colorado.edu.NOSPAM) writes:
>>>
>>> It's looking like IDL can't plot output graphics (PS, metafile etc) with more than
>>> 256 colors ever, is that true?
>>
>> 256 colors out of a palette of 16.7 million. Yes,
>> that is what it means to be an 8-bit device. Computers
>> used to be like this in the old days. :-)
>
> Sigh,
>
> So how does one print anything in IDL with good color selection?

methinks there may a problem with how your system be setup. plotting in color in IDL
(direct graphics at least) is pretty easy - especially stuff like you have described.

- What version of IDL are you using?
- How many bit planes are you set up to use? 8,16,24? (xdpyinfo should tell you that - for
unix at least)
- If 8 bit planes, what is the output when you do:

window, /free, /pixmap, colors = -5
plot, [ 0 ]
wdelete, !d.window
print, 'Number of colors is ', !d.n_colors
print, 'Color table size is ', !d.table_size

*immediately* after starting IDL?

Depending on what your system colour depth is and how many color-intensive applications
(e.g. web browser, fancy editor, movie player, etc) you have running, you may have simply
run out of colours.

paulv

--
Paul van Delst
CIMSS @ NOAA/NCEP/EMC
Ph: (301)763-8000 x7274
Fax:(301)763-8545
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: writing ascii files (with really long lines...)
Next Topic: Re: dlm returning ptr array and string array

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

Current Time: Sun Oct 12 10:44:00 PDT 2025

Total time taken to generate the page: 2.56031 seconds