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

Home » Public Forums » archive » Nan represented by a gray area
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
Nan represented by a gray area [message #83468] Mon, 04 March 2013 11:22
kisCA is currently offline  kisCA
Messages: 78
Registered: January 2011
Member
Hi,
I want to do a contour plot with red contour for positive value and blue for negative which I manage to make:

levelspos=0+indgen(5)*2
cgcontour, modifcoef_Solar,moi,Zproxy, ystyle=1, Levels=levelspos, $
ytitle='Altitude (km)',yrange=[20,40],xtitle='Month'
levelsneg=-8+indgen(4)*2
cgcontour, modifcoef_Solar,moi,Zproxy, ystyle=1, Levels=levelsneg, $
ytitle='Altitude (km)',yrange=[20,40],xtitle='Month',/overplot

There is NaNs in the modifcoef_Solar matrix and I would like to make them appear on the plot as a gray shaded area.

Do you have any ideas ?

Thank you for your help
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: bug? or how to distinguish between a Hash and an array of Hashes ?
Next Topic: Overlaying continent outlines over cgimage?

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

Current Time: Wed Oct 08 18:35:32 PDT 2025

Total time taken to generate the page: 0.00672 seconds