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

Home » Public Forums » archive » tvim color
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: tvim color [message #73705 is a reply to message #73569] Sat, 20 November 2010 05:43 Go to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
On Nov 19, 9:03 am, bing999 <thibaultga...@gmail.com> wrote:
> Hello,
>
> I want to plot a 2D histogram with tvim with a black and white color
> table.
> I want the pixels with no data to be plotted in white and pixels with
> the most data in black.
> To do so, i type:
>
> loadct,0
> reverse_ct
> tvim,map,/scale,nodata=0.0....
>
> It plots my pixels with the wanted colors but the axis, labels and
> titles have disappeared (have been plotted in white i guess).
>
> How to force tvim to plot the axis, titles in black but use the color
> table I want for the plot ?
>
> If someone has an idea! :=)
> Thanks!

Use TVIMAGE. ;-) (yeah, tvim does some useful stuff automatically,
but when it comes to dealing with colours, TVIMAGE is more robust)

-Jeremy.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: idl bimodal distribution
Next Topic: Correct Image Resizing -- New Coyote Program

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

Current Time: Sat Oct 11 05:37:05 PDT 2025

Total time taken to generate the page: 0.87757 seconds