<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">Please continue to respond to the original thread of your original email, rather than starting a new email for a question about the same script.  This makes it easier for us to look at your original code again to see where the problem is. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You didn&#39;t include the script, and in the previous script, you had commented out the shapefile code, so now I&#39;m not sure what your code looks like. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Also, I&#39;m not sure what you mean by &quot;my domains&quot;, but I assume it has something to do with wrf_wps_dom. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The wrf_wps_dom function is an internal function that the WRF folks added, and is not one that we officially advertise, so I don&#39;t know much about it. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">It looks to me like this code is meant to be used as a standalone function where all the drawing occurs inside the function.  Once you leave the function, the &quot;mp&quot; variable that is returned no longer has any of the text or lines attached.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I created a modified version of this function in which all the text and lines are attached to the &quot;mp&quot; variable, and hence &quot;live&quot; outside the function.   I don&#39;t know if it will work in your case, but it worked on a small case I tried.  </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You will need to load the &quot;wrf_wps_dom_mod.ncl&quot; near the top of your script:</div><div class="gmail_default" style="font-size:small"><span class=""><br></span></div><div class="gmail_default" style="font-size:small"><span class="">load</span><span class=""> </span><span class="">&quot;./wrf_wps_dom_mod.ncl&quot;</span><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">and then call &quot;wrf_wps_dom_mod&quot; in place of &quot;wrf_wps_dom&quot;.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I&#39;ve CC&#39;ed wrfhelp in case they have a suggestion of a better way to do this.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 3, 2016 at 10:12 AM, Geeta Geeta <span dir="ltr">&lt;<a href="mailto:geetag54@yahoo.com" target="_blank">geetag54@yahoo.com</a>&gt;</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:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:16px"><div><span>Thanks Mary. I was able to write the text on to the map. </span></div><div><span>But  when I add the shapefile to the figure, my domains just vanish. </span></div><div><span><br></span></div><div>kindly help</div><span class="HOEnZb"><font color="#888888"><div></div><div> </div><div>Geeta.</div></font></span></div></div></blockquote></div><br></div></div>