<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Users,<div>I am trying to plot a contour map filled with color and then apply patterns to the values greater and smaller than the specified values using the function gsn_contour_shade(plot,0.5,3.0,opt)</div><div><br></div><div>However, when I use the gsn_contour_shade and overlay, the contour filled with color disappears. I can only see the patterns without the filled contour. Please have a look at the attached image.</div><div><div> I am using NCL6.4.0 and my script is given below.</div></div><div><br></div><div>Thank you, SB</div><div><br></div><div><div>begin</div><div><br></div><div> in1 = addfile("<a href="http://precip.gpcp.mon.mean.nc">precip.gpcp.mon.mean.nc</a>","r")</div><div>  rain=in1->precip(0,:,:)</div><div>  printVarSummary(rain)</div><div>;************************************</div><div>;create plot</div><div>;************************************</div><div>  wks = gsn_open_wks("pdf","overlay")             ; send graphics to PNG file</div><div>  res                     = True<br></div><div>  res@gsnDraw           = False         ; Don't draw plots</div><div>  res@gsnFrame          = False         ; Don't advance frame</div><div>  res@cnFillOn          = True          ; Turn on contour fill</div><div>  res@cnLinesOn         = False         ; Turn off contour lines</div><div>  res@cnFillPalette       = "MPL_YlOrRd"   ; set color map</div><div>  res@tiMainString        = "Overlaying shaded contours on filled contours"</div><div>;  res@cnFillMode = "RasterFill"</div><div>  res@cnLevelSelectionMode =  "ManualLevels"</div><div>  res@cnMinLevelValF       = 0.0</div><div>  res@cnMaxLevelValF       = 5.0</div><div>  res@cnLevelSpacingF      = 0.5</div><div><br></div><div>;   res@gsnAddCyclic     = False</div><div>   res@mpMinLatF    =   -10.0               ; only plot 30S to 30N</div><div>   res@mpMaxLatF    =  54.0</div><div>   res@mpMinLonF    = 30.0              ; only plot 30S to 30N</div><div>   res@mpMaxLonF    = 100.0</div><div><br></div><div>  plot = gsn_csm_contour_map(wks,rain,res)</div><div><br></div><div>  opt = True</div><div>  opt@gsnShadeFillType = "pattern"      ; pattern fill</div><div>  opt@gsnShadeHigh = 2                  ; use pattern #2</div><div>  opt@gsnShadeLow = 17                  ; use pattern #17</div><div>  plot2 = gsn_contour_shade(plot,0.5,3.0,opt)</div><div>  overlay(plot,plot2)</div><div><br></div><div>  draw(plot)</div><div>  frame(wks)</div><div>end</div></div></div></div></div>