[ncl-talk] query about this example conOncon_4.ncl
Vanúcia Schumacher
vanucia-schumacher at hotmail.com
Thu Sep 25 06:48:45 MDT 2014
I need to plot the correlation and the significance level of 95%, but I do not understand what should I change this example conOncon_4.ncl, (colored lines) because this script is all over the map plotting with significance
....
; calculate cross correlations;************************************************ ccr = escorc(ts2,ts1) copy_VarCoords(ts1,ccr) ;*************************************************; statistical significance of ccr;************************************************* siglvl=0.05
Nx = num(.not.ismissing(ts1))
prob = rtest(ccr,Nx, 0) copy_VarCoords(ccr,prob)
....
res2 at cnLevelSelectionMode = "ManualLevels" res2 at cnMinLevelValF = 0.00 ; set min contour level res2 at cnMaxLevelValF = 1.05 ; set max contour level res2 at cnLevelSpacingF = 0.05 ; set contour spacing
res2 at cnFillScaleF = 0.6 ; add extra density
plot2 = gsn_csm_contour(wks,gsn_add_cyclic_point(prob(:,:)), res2)
plot2 = ShadeLtContour(plot2, 0.07, 17) ; shade all areas less than the ; 0.05 contour level overlay (plot, plot2)
---Vanúcia SchumacherMestranda em Meteorologia - UFVMeteorologista -UFPel
Departamento de Meteorologia Agrícola - DEACel: (31) 9978 2522 DEA: (31) 3899 1890
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140925/93965cea/attachment.html
More information about the ncl-talk
mailing list