<div dir="ltr"><div class="gmail_default" style="font-size:small">Geeta,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You can't create two contour/map plots and overlay one on the other. You can only overlay contour plots or vector plots on a map.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I think all you need to do is change this line:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> plot_q(deltaT) = gsn_csm_contour_map(wks,Q_flt(</span><wbr style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">deltaT,lev,:,:),resq)</span><br></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">to:</span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> plot_q(deltaT) = gsn_csm_contour(wks,Q_flt(</span><wbr style="text-decoration-style:initial;text-decoration-color:initial"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">deltaT,lev,:,:),resq)</span><br></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">which turns it into a contour plot.</span></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">You may want to visit the overlays examples page for some help understanding overlays:</span></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></div><div class="gmail_default"><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><font color="#000000" face="Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><a href="http://www.ncl.ucar.edu/Applications/overlay.shtml">http://www.ncl.ucar.edu/Applications/overlay.shtml</a></font><br></span></span></div><div class="gmail_default"><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><font color="#000000" face="Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><br></font></span></span></div><div class="gmail_default"><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><font color="#000000" face="Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><br></font></span></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">--Mary</span></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 11, 2018 at 10:55 AM, Geeta Geeta <span dir="ltr"><<a href="mailto:geetag54@yahoo.com" target="_blank">geetag54@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px"><div id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_15753"><span id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_15776">Hi. <br></span></div><div id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_15767"><span id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_15777">I need 3 variables in one plot. these are wind speed (shaded contours), wind vectors and specific humidity (Q_flt). <br></span></div><div dir="ltr" id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_15785"><span id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_15777">I am able to overlay two but the third one does not get overlaid. I have tried the function gsn_csm_contour_overlay<br></span></div><div id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_15793"><br><span id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_15777"></span></div><div id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19125"><span id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_15777">Can U pls help me. attaching my code</span></div><div dir="ltr" id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19131"><span id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_15777">; ---------------Plot the wind speed Filled Contours and Specific humidity<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19192"><br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19193"> base(deltaT) = gsn_csm_contour_map(wks,<wbr>wndspd,res)<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19194"> plot_q(deltaT) = gsn_csm_contour_map(wks,Q_flt(<wbr>deltaT,lev,:,:),resq)<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19195"> <wbr> <wbr> ; tried both with gsn_csm_contour and gsn_csm_contour_map<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19196"> india_id(deltaT) = gsn_add_shapefile_polylines(<wbr>wks,base(deltaT),IND_shape_<wbr>fname,shpres)<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19197">; overlay(base(deltaT),plot_q(<wbr>deltaT))<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19198"><br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19199"><br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19200"> DCC_WCC = storms_file<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19201"> TSTR_DCC_WCC = asciiread(DCC_WCC,-1,"string")<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19202"> <wbr> print(TSTR_DCC_WCC)<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19203"> LATC_DCC_WCC = stringtofloat(str_get_field(<wbr>TSTR_DCC_WCC,1,delim))<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19204"> LONC_DCC_WCC = stringtofloat(str_get_field(<wbr>TSTR_DCC_WCC,2,delim))<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19205"> add_DCC_WCC(deltaT) = gsn_add_polymarker(wks,base(<wbr>deltaT),LONC_DCC_WCC,LATC_DCC_<wbr>WCC,RES_MARK_DCC_WCC)<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19206">;:::: Vector wind ::::::::<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19207"><br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19208"> plot(deltaT) = gsn_csm_vector(wks,U_flt(<wbr>deltaT,lev,:,:),V_flt(deltaT,<wbr>lev,:,:),res_vc)<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19209"><br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19210"> overlay(base(deltaT),plot(<wbr>deltaT))<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19211"><br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19212"><br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19213"><br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19214"> draw(base)<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19215"> frame(wks)<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19216"> end do<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19217"><br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19218"><br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19219"> panelres = True<br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19220"> gsn_panel(wks,base,(/2,2/),<wbr>True)<span class="HOEnZb"><font color="#888888"><br id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_19221"></font></span></span></div><span class="HOEnZb"><font color="#888888"><div id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_15751"> </div><div id="m_5887661118169195709yui_3_16_0_ym19_1_1531299914796_15752" class="m_5887661118169195709signature">Geeta.</div></font></span></div></div><br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>