<div dir="ltr"><div class="gmail_default" style="font-size:small">Ankita,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You need to be more specific about what you mean by a "bad plot".  </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">My guess is that the data you are trying to plot has been stripped of all of its metadata, which means there are no lat/lon coordinates being passed to the plotting function.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">When you do a calculation or call a function like uv2fsvpg, NCL will strip off the metadata. It is the user's responsibility to copy or reconstruct the metadata before plotting, especially if you need to plot it over a map.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you look at the one example we have of using uv2sfvpg, sol_2.ncl:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/tropical.shtml#ex2">http://www.ncl.ucar.edu/Applications/tropical.shtml#ex2</a><br></div><div class="gmail_default"><br></div><div class="gmail_default" style="font-size:small">you will see this code:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default"><font face="monospace, monospace">  psi = u                                   ; Trick to copy metadata from u to both</font></div><div class="gmail_default"><font face="monospace, monospace">  chi = u                                   ;   psi and chi before doing calculation</font></div><div class="gmail_default"><font face="monospace, monospace">  uv2sfvpg(u,v,psi,chi)                     ; Calculate psi and chi</font></div><div class="gmail_default"><font face="monospace, monospace">  psi@long_name = "stream function"         ; Update long_name attribute</font></div><div class="gmail_default"><font face="monospace, monospace">  chi@long_name = "velocity potential"</font></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div></div><div class="gmail_default" style="font-size:small">The first two lines copy all of u's metadata to psi and chi, including the lat/lon coordinate arrays that were attached to u.  This enables us to plot psi and chi over a map.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Note that it's important to update the metadata after the calculation, because the long_name and/or units may not be appropriate.</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><pre style="margin:0px;padding:0px;font-size:13.3333px;line-height:12pt;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;text-indent:0px;color:rgb(0,0,0);font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-transform:none;word-spacing:0px"><br></pre></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 17, 2018 at 12:14 AM, Ankita Sharma <span dir="ltr"><<a href="mailto:ankita@iiserb.ac.in" target="_blank">ankita@iiserb.ac.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:"comic sans ms",sans-serif"><font color="#000000">Dear all,</font></div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif"><font color="#000000"><br></font></div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif"><font color="#000000">Thank you for your time and reply.</font></div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif"><font color="#000000">I have already used almost all the scripts for plotting but still, I am getting the bad plot.</font></div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif"><font color="#000000">I am using ERA-Interim data for the year 2009 for zonal wind, meridional wind, divergence and velocity potential (which I have included by the help of function </font><b><font color="#0b5394">uv2sfvpg</font></b><font color="#000000">) but still getting a very bad plot.</font></div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif"><font color="#000000">Please suggest me some other option if possible.</font></div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif"><font color="#000000"><br></font></div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif"><font color="#000000">Thanking you,</font></div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif"><font color="#000000">Ankita Sharma</font></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#073763"><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 14, 2018 at 8:13 PM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>I suggest that you look at the NCL examples page;<br><br>      <a href="http://www.ncl.ucar.edu/Applications/" target="_blank">http://www.ncl.ucar.edu/Applic<wbr>ations/</a><br><br>Then look under "Vectors"<br><br>------------------------------<wbr>-----<br>Two ways to 'thin' vectors:<br><br></div>(a) As noted by Barry: use NCL array syntax. This hard-wires a specific subset.<span><br>          <span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">plotB<span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-Apple-converted-space">  </span>= gsn_csm_</span><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s2" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(230,230,0)">vecto</span><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">r(wks,u_new<b>(::4,:</b><b><wbr>:4)</b>,v_new<b>(::4,::4)</b>,vecres)<br></span></span></div><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">     Generally, this is<br>          </span><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">plotB<span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-Apple-converted-space">  </span>= gsn_csm_</span><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s2" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(230,230,0)">vecto</span><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">r(wks,u_new(::ny,<wbr>::mx),v_new(::ny,::mx),vecres)<br></span></div><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">     Note that 'ny' need not equal 'mx'<br>          </span><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">plotB<span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-Apple-converted-space">  </span>= gsn_csm_</span><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s2" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(230,230,0)">vecto</span><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">r(wks,u_new(::4,:<wbr>:2),v_new(::4,::2),vecres)<br><br></span></span></div><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">(b) If you click on "Vectors"<br>          <a href="http://www.ncl.ucar.edu/Applications/vector.shtml" target="_blank">http://www.ncl.ucar.edu/Applic<wbr>ations/vector.shtml</a><br><br></span></span></div><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">      Within the top 'preamble', there is the comment:</span></span><br><p>
Important resources for controlling the length, <b>density,</b> direction, and style of vectors:
</p><p>
<em>[snip]</em></p><p>

</p><a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/vc.shtml#vcMinDistanceF" target="_blank"><em>vcMinDistanceF</em></a> - <b>set to small
value to thin the vectors</b>.  <%%%%%%%%%%%%%%%%%<br><br></div>     <br>Then, click on "resources" at the top of the page and search for "vcMinDistanceF". This will show you all the examples that use this resource.<br><br></div>This is an 'even better' way to thin vectore.<br><div><br><a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/vc.shtml#vcMinDistanceF" target="_blank"><em>vcMinDistanceF</em></a><br>
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/WRF_2d_3.ncl" target="_blank">WRF_2d_3.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/wrf2d.shtml#ex3" target="_blank">WRF 2D data</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/WRF_2d_4.ncl" target="_blank">WRF_2d_4.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/wrf2d.shtml#ex4" target="_blank">WRF 2D data</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/WRF_lc_7.ncl" target="_blank">WRF_lc_7.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/wrflc.shtml#ex7" target="_blank">WRF lambert conformal projections</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/WRF_lc_8.ncl" target="_blank">WRF_lc_8.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/wrflc.shtml#ex8" target="_blank">WRF lambert conformal projections</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/barb_1.ncl" target="_blank">barb_1.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/barb.shtml#ex1" target="_blank">wind barbs</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/barb_2.ncl" target="_blank">barb_2.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/barb.shtml#ex2" target="_blank">wind barbs</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/barb_3.ncl" target="_blank">barb_3.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/barb.shtml#ex3" target="_blank">wind barbs</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/ce_4.ncl" target="_blank">ce_4.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/cylineq.shtml#ex4" target="_blank">cylindrical equidistant projections</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/coamps_2.ncl" target="_blank">coamps_2.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/coamps.shtml#ex2" target="_blank">COAMPS</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/coamps_3.ncl" target="_blank">coamps_3.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/coamps.shtml#ex3" target="_blank">COAMPS</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/coamps_5.ncl" target="_blank">coamps_5.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/coamps.shtml#ex5" target="_blank">COAMPS</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/coamps_6.ncl" target="_blank">coamps_6.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/coamps.shtml#ex6" target="_blank">COAMPS</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/dataonmap_2.ncl" target="_blank">dataonmap_2.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/plot_data_on_map.shtml#ex2" target="_blank">Plotting data on a map</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/dataonmap_4.ncl" target="_blank">dataonmap_4.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/plot_data_on_map.shtml#ex4" target="_blank">Plotting data on a map</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/dataonmap_native_4.ncl" target="_blank">dataonmap_native_4.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/plot_data_on_map.shtml#ex4" target="_blank">Plotting data on a map</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/dataonmap_nonnative_4.ncl" target="_blank">dataonmap_nonnative_4.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/plot_data_on_map.shtml#ex4" target="_blank">Plotting data on a map</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/epflux_1.ncl" target="_blank">epflux_1.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/epflux.shtml#ex1" target="_blank">EPflux</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/epflux_2.ncl" target="_blank">epflux_2.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/epflux.shtml#ex2" target="_blank">EPflux</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/era40_2.ncl" target="_blank">era40_2.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/era40.shtml#ex2" target="_blank">ERA40 data</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/global_nogaps_vec.ncl" target="_blank">global_nogaps_vec.ncl</a><br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/global_nogaps_vec_con.ncl" target="_blank">global_nogaps_vec_con.ncl</a><br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/global_nogaps_vec_con_panel.ncl" target="_blank">global_nogaps_vec_con_pane<wbr>l.ncl</a><br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/global_nogaps_vec_panel.ncl" target="_blank">global_nogaps_vec_panel.nc<wbr>l</a><br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/godas_2.ncl" target="_blank">godas_2.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/godas.shtml#ex2" target="_blank">GODAS</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/godas_4.ncl" target="_blank">godas_4.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/godas.shtml#ex4" target="_blank">GODAS</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/hycom_con_vec.ncl" target="_blank">hycom_con_vec.ncl</a><br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/ice_2.ncl" target="_blank">ice_2.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/ice.shtml#ex2" target="_blank">CESM ice model</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/lat2pop_2.ncl" target="_blank">lat2pop_2.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/lat2pop.shtml#ex2" target="_blank">lat/lon to POP</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/lcmask_3.ncl" target="_blank">lcmask_3.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/lcmask.shtml#ex3" target="_blank">masking lambert conformal</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/lcnative_4.ncl" target="_blank">lcnative_4.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/lcnative.shtml#ex4" target="_blank">native lambert conformal</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/lcnative_5.ncl" target="_blank">lcnative_5.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/lcnative.shtml#ex5" target="_blank">native lambert conformal</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/lcnative_overlay_5.ncl" target="_blank">lcnative_overlay_5.ncl</a><br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/mjoclivar_16.ncl" target="_blank">mjoclivar_16.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/mjoclivar.shtml#ex16" target="_blank">MJO climate variability</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/newcolor_8.ncl" target="_blank">newcolor_8.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/rgbacolor.shtml#ex8" target="_blank">new 32-bit color capabilities</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/nldas_01.ncl" target="_blank">nldas_01.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/nldas_gldas.shtml#ex01" target="_blank">NLDAS-GLDAS</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/nlom_1.ncl" target="_blank">nlom_1.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/nlom.shtml#ex1" target="_blank">NLOM</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/nlom_vec_con.ncl" target="_blank">nlom_vec_con.ncl</a><br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/polar_7.ncl" target="_blank">polar_7.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/polar.shtml#ex7" target="_blank">polar stereographic projection</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/polar_8.ncl" target="_blank">polar_8.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/polar.shtml#ex8" target="_blank">polar stereographic projection</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/pop2lat_2.ncl" target="_blank">pop2lat_2.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/pop2lat.shtml#ex2" target="_blank">POP to lat/lon</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/popscal_4.ncl" target="_blank">popscal_4.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/popscal.shtml#ex4" target="_blank">POP scalars</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/popvec_2.ncl" target="_blank">popvec_2.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/popvec.shtml#ex2" target="_blank">POP vectors</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/popvec_3.ncl" target="_blank">popvec_3.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/popvec.shtml#ex3" target="_blank">POP vectors</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/popvec_4.ncl" target="_blank">popvec_4.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/popvec.shtml#ex4" target="_blank">POP vectors</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/roms_5.ncl" target="_blank">roms_5.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/roms.shtml#ex5" target="_blank">ROMS</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/veceff_4.ncl" target="_blank">veceff_4.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/veceff.shtml#ex4" target="_blank">vector effects</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/vector_3.ncl" target="_blank">vector_3.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/vector.shtml#ex3" target="_blank">vector plots</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/vector_4.ncl" target="_blank">vector_4.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/vector.shtml#ex4" target="_blank">vector plots</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/vector_5.ncl" target="_blank">vector_5.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/vector.shtml#ex5" target="_blank">vector plots</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/wind_1.ncl" target="_blank">wind_1.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/wind.shtml#ex1" target="_blank">divergent and rotational wind components</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/wind_2.ncl" target="_blank">wind_2.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/wind.shtml#ex2" target="_blank">divergent and rotational wind components</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/wind_3.ncl" target="_blank">wind_3.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/wind.shtml#ex3" target="_blank">divergent and rotational wind components</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/wind_4.ncl" target="_blank">wind_4.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/wind.shtml#ex4" target="_blank">divergent and rotational wind components</a>)<br> 
<a name="m_6280017777315756103_m_-5478589806107603851_vcMinFracLengthF"></a>
<br><a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/vc.shtml#vcMinFracLengthF" target="_blank"><em>vcMinFracLengthF</em></a><br>
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/newcolor_7.ncl" target="_blank">newcolor_7.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/rgbacolor.shtml#ex7" target="_blank">new 32-bit color capabilities</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/newcolor_8.ncl" target="_blank">newcolor_8.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/rgbacolor.shtml#ex8" target="_blank">new 32-bit color capabilities</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/overlay_6.ncl" target="_blank">overlay_6.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/overlay.shtml#ex6" target="_blank">Overlays</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/unique_2.ncl" target="_blank">unique_2.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/unique.shtml#ex2" target="_blank">unique plots</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/unique_4.ncl" target="_blank">unique_4.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/unique.shtml#ex4" target="_blank">unique plots</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/veceff_1.ncl" target="_blank">veceff_1.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/veceff.shtml#ex1" target="_blank">vector effects</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/veceff_2.ncl" target="_blank">veceff_2.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/veceff.shtml#ex2" target="_blank">vector effects</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/veceff_3.ncl" target="_blank">veceff_3.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/veceff.shtml#ex3" target="_blank">vector effects</a>)<br> 
    <a href="http://www.ncl.ucar.edu/Applications/Scripts/veceff_4.ncl" target="_blank">veceff_4.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/veceff.shtml#ex4" target="_blank">vector effects</a>)<br> 
<a name="m_6280017777315756103_m_-5478589806107603851_vcMinLevelValF"></a>
<br><br><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span></span><div><div><div><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span><div><span class="m_6280017777315756103m_-5478589806107603851gmail-m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span></div></div></div></div></div></div><div class="m_6280017777315756103HOEnZb"><div class="m_6280017777315756103h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 14, 2018 at 12:24 AM, Barry Lynn <span dir="ltr"><<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Here is how you do it.<div><br></div><div>




<span></span>





<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>vecres<span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">                  </span>= True<span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">            </span>; </span><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s2" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(230,230,0)">vecto</span><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">r only resources</span></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>vecres@gsnDraw<span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">          </span>= False <span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">          </span>; don't draw</span></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>vecres@gsnFrame <span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">        </span>= False <span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">          </span>; don't advance frame</span></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>vecres@vcGlyphStyle <span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">    </span>= "CurlyVector" <span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>; curly </span><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s2" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(230,230,0)">vecto</span><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">rs</span></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>vecres@vcRefMagnitudeF<span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>= 20<span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">              </span>; define </span><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s2" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(230,230,0)">vecto</span><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">r ref mag</span></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>vecres@vcRefLengthF <span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">    </span>= 0.045 <span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">          </span>; define length of vec ref</span></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>vecres@gsnRightString <span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>= " " <span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">            </span>; turn off right string</span></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>vecres@gsnLeftString<span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">    </span>= " " <span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">            </span>; turn off left string</span></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>vecres@tiXAxisString<span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">    </span>= " " <span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">            </span>; turn off axis label</span></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>vecres@vcRefAnnoOrthogonalPosF = -0.17<span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">    </span>; move ref </span><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s2" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(230,230,0)">vecto</span><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">r into<span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>plot</span></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255);min-height:19px"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>vecres@gsnAddCyclic<span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">          </span>= False<span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">          </span>; we will manually zoom in.</span></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>plotB<span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>= gsn_csm_</span><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s2" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(230,230,0)">vecto</span><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">r(wks,u_new(::4,:<wbr>:4),v_new(::4,::4),vecres)</span></p>


<br></div><div>Then, you can overlay it onto another plot like temperature.</div><div><br></div><div>




<span></span>





<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">panres = True</span></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">panres@gsnMaximize = True</span></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">panres@gsnPanelRight = 0.98</span></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">panres@gsnPanelLeft<span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-Apple-converted-space">  </span>= 0.02</span></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">panres@gsnPaperOrientation="Po<wbr>rtrait"</span></p>
<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">overlay(plot,</span><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s2" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(230,230,0)">plotB</span><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">)</span></p>







<span></span>





<p class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail-s1" style="font-variant-ligatures:no-common-ligatures">gsn_panel(wks,plot,(/1,1/),pan<wbr>res)</span></p>


<br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><span>On Wed, Feb 14, 2018 at 6:53 AM, Ankita Sharma <span dir="ltr"><<a href="mailto:ankita@iiserb.ac.in" target="_blank">ankita@iiserb.ac.in</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><div dir="ltr"><div class="gmail_default" style="font-family:"comic sans ms",sans-serif;color:rgb(7,55,99)">​​<span style="font-size:12.8px">How to use "skip 4" in NCL? or How to skip vectors into grids?</span></div></div>
<br></span>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_6280017777315756103m_-5478589806107603851m_-1399523757590938562gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</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>