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 #33563 is a reply to message #33469] Wed, 08 January 2003 13:18 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
Dave:
> I tried the true_color keyword with "metafile" and cannot find a syntax
that it
> won't complain about. Tells me true_color cannot be used with the metafile
> device.

Hmm, looks like the documentation is wrong.

[Me:]
>> And, of course, you can write true-colour images to bitmap formats like
>>
>> TIFF, JPG and PNG.

[Dave:]
> If I rewrite all my code to not make line plots but rewrite 2-d arrays,
yes.

Assuming you have a 16-bit or 24-bit display, you can send your line
plotting commands to a window (or an off-screen pixmap created by "window,
/PIXMAP") then extract the image with "tvrd(/TRUE)".

There are lots of complications & subtleties associated with different
colour models in IDL direct graphics. I suggest you read everything you can
find on the subject at David's WWW site:

http://www.dfanning.com/

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[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: Mon Dec 01 04:37:40 PST 2025

Total time taken to generate the page: 1.92406 seconds