<div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Ying Song,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">In the future, it would help if you provide some information about the data you are trying to plot, by doing a &quot;printVarSummary&quot; on it and including it in your email:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">printVarSummary(aod)</div><div class="gmail_default" style="font-size:small">printVarSummary(u)</div><div class="gmail_default" style="font-size:small">printVarSummary(v)</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This helps us to see what kind of lat/lon grid your data is on, and what the shape and type are. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Instead of trying to subscript your data for the area of interest, I suggest plotting all of the data, but then use NCL&#39;s map resources to zoom in on the area of interest. You are already zooming in on the area of interest with these settings:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default">  res@mpMinLatF               = 30</div><div class="gmail_default">  res@mpMaxLatF               = 45</div><div class="gmail_default">  res@mpMinLonF               = -130</div><div class="gmail_default">  res@mpMaxLonF               = -110</div><div class="gmail_default"><br></div><div class="gmail_default">so I think all you need to change is to create the plots with the full data:</div><div class="gmail_default"><br></div><div class="gmail_default"><div class="gmail_default">  contour = gsn_csm_contour_map(wks,aod,res)</div><div class="gmail_default">  vector = gsn_csm_vector(wks,u, v, vcres)</div><div class="gmail_default">  overlay(contour,vector)</div><div class="gmail_default"><br></div><div class="gmail_default">There is one correction you need to make. You have:</div><div class="gmail_default">







<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-converted-space">  </span>res@</span><span class="gmail-s2">gsn_add_cyclic</span><span class="gmail-s1"><span class="gmail-Apple-converted-space">          </span>= False</span></p><p class="gmail-p1"><span class="gmail-s1">&quot;gsn_add_cyclic&quot; is not the correct resource. You want:</span></p><p class="gmail-p1"><span class="gmail-s1">







</span></p><p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-converted-space">  </span>res@</span><span class="gmail-s2">gsnAddCyclic</span><span class="gmail-s1"><span class="gmail-Apple-converted-space">          </span>= False</span></p></div></div></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You should also set this for your vectors:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">vcres@gsnAddCyclic = False</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default"><span style="font-family:monospace,monospace"><br></span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 13, 2017 at 10:40 PM, Ying Song <span dir="ltr">&lt;<a href="mailto:ysong4@slu.edu" target="_blank">ysong4@slu.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p class="MsoNormal" style="font-size:12.8px">Hello, I have a question about overlay plot. I am trying to overlay contour and wind vector, the input data is global but I only want to plot for west coast of US. I set the contour with map as base and overlay the wind vector on it. The plot only shows the map. I tried different way to read and plot the specific domain, none of them works. Attachment is my script. Please help me take a look. Thank you very much!</p><span class="HOEnZb"><font color="#888888"><p class="MsoNormal" style="font-size:12.8px"><u></u> </p><div><br></div>-- <br><div class="m_-2975252060504632245gmail_signature"><div dir="ltr"><div>Ying Song, PhD, Post Doctoral Fellow </div><div>Department of Earth and Atmospheric Sciences</div><div>Saint Louis University</div><div><br></div><div><a href="mailto:ysong4@slu.edu" target="_blank">ysong4@slu.edu</a></div><div><br></div></div></div>
</font></span></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>