Re: How to plot 95% confidence level contour line over shaded plot..

From: <debasish_at_nyahnyahspammersnyahnyah>
Date: Thu Mar 04 2010 - 06:33:27 MST

Dear Sebi,

I guess the following examples will help you:

conOncon_4.ncl, conOncon_8.ncl
(http://www.ncl.ucar.edu/Applications/conOncon.shtml)

Thanks

Debasish

Quoting "Sabeerali(sebi)" <sabeerl@gmail.com>:

> Dear ncl users
>
> I computed the correlation between to variables w(time) and
> ssta(lat,lon,time) by using escorc function and made the shaded
> plot.(ccr2)...Also I computed the probability...Now I want to overlay the
> 95% confidence level contour line over the shaded plot.(only one black
> contour line)...
>
> Any help would be appreciated...
>
>
>
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
>
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
>
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
>
> begin
>
> in1=addfile("test.nc","r")
>
> w=in1->w ;only time
>
> ssta=in1->sst ; lat,lon,time
>
> ccr2=escorc(w,ssta)
>
> copy_VarAtts(w, ccr2)
>
> copy_VarCoords_1(ssta, ccr2)
>
> ;*******Compute significance*************************************
>
> siglevl=0.05
>
> Nx=59
>
> prob=rtest(ccr2,Nx,0)
>
> ;************Plotting option*****************************************
>
> wks=gsn_open_wks("eps","cor_TTindxWD_SO_sst_anom_signi")
>
> gsn_define_colormap(wks,"gui_default")
>
> res=True
>
> res@cnFillOn=True
>
> res@gsnSpreadColors=True
>
> res@cnLinesOn=False
>
> res@lbLabelAutoStride=True
>
> res@mpCenterLonF=180.0
>
> plot=gsn_csm_contour_map_ce(wks,ccr2,res)
>
> end
>
>
>
> **********************************
> Sebi
> Climate and Global Modeling Division
> Indian Institute of Tropical Meteorology
> Pashan, Pune, 411 008
> ****************************************
>

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Mar 4 06:33:33 2010

This archive was generated by hypermail 2.1.8 : Thu Mar 04 2010 - 15:07:06 MST