overlay problem

From: Cheung <zuibeidemei_at_nyahnyahspammersnyahnyah>
Date: Mon Jan 09 2012 - 07:22:05 MST

Dear all:

      I wanna plot a kind of figs like contour on contour, example 4, but for a regional domain.

      And I find I can not overlay my significant level dots plots onto the base map(like fig1), but if I set "res1@tfDoNDCOverlay = True", it's

ok, but the edge of my plot lose some dots which definitely should be there(see fig2 right edge of my plot, a space which should not appear, I've

checked the data).
  
      So does anyone know how to solve this ?

      Thanks a lot!

And below is my ncl resources:

    res = True
    res@gsnSpreadColors = True
    res@gsnSpreadColorStart = 18
    res@gsnSpreadColorEnd = 2
    res@gsnDraw = False
    res@gsnFrame = False
    res@gsnAddCyclic = False
    res@mpFillOn = False
    res@mpLimitMode = "Corners"
    res@mpLeftCornerLatF = 10.
    res@mpRightCornerLatF = 45.
    res@mpLeftCornerLonF = 90.
    res@mpRightCornerLonF = 125.
    res@cnFillOn = True
    res@cnLinesOn = False
    res@cnLineLabelsOn = False
    res@cnLevelSelectionMode = "ManualLevels"
    res@cnLevelSpacingF = 1.
    res@cnMinLevelValF = -5.
    res@cnMaxLevelValF = 5.
    res@gsnLeftString = ""
    res@gsnCenterString = ""
    plot = gsn_csm_contour_map(wks,below_avg(:,:),res)

    res1 = True
    res1@gsnDraw = False
    res1@gsnFrame = False
; res1@tfDoNDCOverlay = True
    res1@gsnAddCyclic = False
    res1@cnLevelSelectionMode = "ManualLevels" ; set manual contour levels
    res1@cnMinLevelValF = 0.00 ; set min contour level
    res1@cnMaxLevelValF = 1.05 ; set max contour level
    res1@cnLevelSpacingF = 0.01 ; set contour spacing
    res1@cnInfoLabelOn = False ; turn off info label
    res1@cnLinesOn = False ; do not draw contour lines
    res1@cnLineLabelsOn = False ; do not draw contour labels
    res1@cnFillScaleF = 0.6 ; add extra density
    res1@tiXAxisString = ""
    res1@tiYAxisString = ""
    plot1 = gsn_csm_contour(wks,gsn_add_cyclic_point(tail_prob), res1)
    plot1 = ShadeLtContour(plot1, 0.02, 17) ; shade all areas less than the
    overlay(plot, plot1)
    draw(plot)
    frame(wks)
 

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Mon Jan 9 07:22:27 2012

This archive was generated by hypermail 2.1.8 : Wed Jan 18 2012 - 09:21:55 MST