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

Home » Public Forums » archive » 24-bit color contour
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: 24-bit color contour [message #28115 is a reply to message #27882] Mon, 19 November 2001 06:22 Go to previous message
Wolf Schweitzer is currently offline  Wolf Schweitzer
Messages: 21
Registered: October 2001
Junior Member
In article <9sht53$jkj$1@mail.cn99.com>, "tom" <tom2959@21cn.com>
wrote:

> Hi, is it possible for me to draw a 24-bits color filled contour plot on a
> 24-bits screen or PS file? It is usually a 8-bits contour or grey contour.
> Thanks. Tom



------

Tom,

I use the hexadecimal format for colors in the contour functions simply
because it is easier for my brain to put a decent color together in
'r-g-b' format under 24-bit colors.

The colors in this call will be

purple 'ff00ff'xl
blue 'ff0000'xl
green '00ff00'xl
red '0000ff'xl


Wolf Schweitzer



contour,image_array(*,*,image_info.counter), $
xrange = [0,cont_max],yrange = [0,cont_max],xstyle =5,ystyle=5,$
levels = [cont1_val,cont2_val,cont3_val,cont4_val],$
c_colors = ['ff00ff'xl,'ff0000'xl,'00ff00'xl,'0000ff'xl],$
pos = [0,0,611,611],noerase=cont_noerase

--


Wolf Schweitzer
MD, FMH Rechtsmedizin
Research Fellow / Registrar
Institute of Legal Medicine
Bern, Switzerland

mailto:wuff@swisswuff.ch
http://www.swisswuff.ch
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: pie-shaped polar plot in IDL?
Next Topic: Ongoing Object Graphics Quest

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

Current Time: Fri Oct 10 14:19:31 PDT 2025

Total time taken to generate the page: 1.43824 seconds