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

Home » Public Forums » archive » cgContour with different clipping
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
cgContour with different clipping [message #89256] Sat, 09 August 2014 05:02
amin farhang is currently offline  amin farhang
Messages: 39
Registered: November 2010
Member
Hi All,

How can I color the specific region of my contour with different color clipping?
for example in following data, the values are in [0,1550] range and I want to color [0,450] range with clip=[1,80] and color the [1000,1500] with clip=[160,240]

IDL> data = cgDemoData(2)
IDL> cgLoadCT, 33, NColorS=42, Bottom=1,CLIP=[20,100]
IDL> cgContour, data, /Fill, NLevels=12,C_Colors=Indgen(42)+1

Thanks,
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: TS_SMOOTH function
Next Topic: Scary bug with array assignment

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

Current Time: Wed Oct 08 11:34:48 PDT 2025

Total time taken to generate the page: 0.00523 seconds