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

Home » Public Forums » archive » Re: Write PNG from plots with different color tables??
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: Write PNG from plots with different color tables?? [message #70016 is a reply to message #69871] Wed, 03 March 2010 07:14 Go to previous messageGo to previous message
ben.bighair is currently offline  ben.bighair
Messages: 221
Registered: April 2007
Senior Member
On Mar 2, 2:30 pm, Mark Shephard <mark.w.sheph...@gmail.com> wrote:
> Hi PP,
>
> Thanks for the prompt response.  I had already tried what you
> suggested.  When I do so I get a very strange result.  The top half is
> completely black and the bottom half has the plot repeated three times
> (still using just one of the color tables).
>
> ----------------
> |              |
> |  BLACK       |
> |              |
> ----------------
> |              |
> | P1   P1   P1 |
> |              |
> ----------------
>
> Any thoughts?
>
> Thanks,
> Mark
>
> On Mar 2, 2:06 pm, pp <pp.pente...@gmail.com> wrote:
>
>> On Mar 2, 3:51 pm, Mark Shephard <mark.w.sheph...@gmail.com> wrote:
>
>>> image = tvrd()
>>> write_png, file_out, image, r, g, b
>
>> Do it without color tables instead:
>
>> image=tvrd(true=1)
>> write_png,file_out,image
>
>

Hi,

What happens if you use David Fanning's handy TVREAD rather than IDL's
built-in TVRD?

http://dfanning.com/color_tips/strange_tvrd.html

Ben
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: 3-D (stereo) visualization
Next Topic: How to add a new tag to N structures

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

Current Time: Thu Oct 09 23:54:21 PDT 2025

Total time taken to generate the page: 1.35318 seconds