<div dir="ltr"><div><div>thanks<br></div>all<br></div>the vectors  looks better now <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 9, 2018 at 1:46 AM, Bill Reilly <span dir="ltr"><<a href="mailto:bill_reilly@compuserve.com" target="_blank">bill_reilly@compuserve.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Looking at your script you do indeed set cthick to 1, but then two
    lines later you set cthick to 9:<span class=""><br>
    <br>
    'set cthick 1 '<br>
    'set ccols 1'<br>
    'set cthick 9'<br>
    <br></span>
    The second time when you set it to 9 it overrides the first, so
    that's why your vectors are so thick.<br>
    <br>
    Bill<br>
    <pre class="m_-7486965566366816378moz-signature" cols="72">--

Bill Reilly

(+34) 686-110-748

<a class="m_-7486965566366816378moz-txt-link-abbreviated" href="mailto:bill@passageweather.com" target="_blank">bill@passageweather.com</a>
<a class="m_-7486965566366816378moz-txt-link-abbreviated" href="http://www.passageweather.com" target="_blank">www.passageweather.com</a>

<a class="m_-7486965566366816378moz-txt-link-abbreviated" href="mailto:bill@brwebworks.com" target="_blank">bill@brwebworks.com</a>
<a class="m_-7486965566366816378moz-txt-link-abbreviated" href="http://www.brwebworks.com" target="_blank">www.brwebworks.com</a> 

</pre><div><div class="h5">
    <div class="m_-7486965566366816378moz-cite-prefix">On 08/03/2018 21:59, afwande juliet
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>Thanks<br>
          </div>
          I am actually using set csthick 1 , but are not giving me the
          desired results. I tried what was suggested here but could
          achieve desired results...see my script...see also the figure
          attached that is produced with vectors not looking  nice<br>
          <br>
        </div>
        Examples of the  vectors I wanted to look like are attached in
        the sample paper(Figs 4 and 12)<br>
        <div><br>
          <br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Mar 7, 2018 at 12:53 PM, Davide
          Sacchetti <span dir="ltr"><<a href="mailto:davide.sacchetti@arpal.gov.it" target="_blank">davide.sacchetti@arpal.gov.it</a><wbr>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">about
            thickness use 'set cthick 1', you area using set cthick 9<br>
            <br>
            about smoothing you could use smth9 (smooth with 9 points):<br>
            'd smth9(u);smth9(v)'<br>
            <br>
            or try hxout stream<br>
            <br>
            Cheers<br>
            Davide<br>
            <div>
              <div class="m_-7486965566366816378h5"><br>
                On Tue, 2018-03-06 at 14:57 +0300, afwande juliet wrote:<br>
                > Dear users<br>
                > I am plotting biases in the Vertically Intergrated
                moisture flux<br>
                > between 850-200hPa and I plot winds at 500hPa. The
                vectors are not<br>
                > smooth and they are not clear and too thick<br>
                > How do I make them smoother and thinner but visible<br>
                ><br>
                > These are the plot commands am using and attached
                is the sample plot<br>
                ><br>
                > 'reinit'<br>
                > 'sdfopen /media/anyuola/data_backup1/OB<wbr>J4/ERA/interim_OND_dry_rg.nc'<br>
                > 'open /media/anyuola/external/GRELL/<wbr>DRY/grell_ond_2010.ctl'<br>
                > 'open /media/anyuola/external/BML/DR<wbr>Y/bml_OND_MAM_dry_2010_2011.ct<wbr>l'<br>
                > 'open /media/anyuola/external/KF/DRY<wbr>/kf_OND_dry_2010.ctl'<br>
                > 'open /media/anyuola/external/KFT/DR<wbr>Y/kft_dry_2010_2011.ctl'<br>
                ><br>
                > 'set dfile 2'<br>
                > 'define q2=ave(qvapor,t=1,t=92)'<br>
                > 'define u2=ave(u,t=1,t=92)'<br>
                > 'define v2=ave(v,t=1,t=92)'<br>
                > 'p850 = const(q2,850,-a)'<br>
                > 'define qu2=vint(p850,q2*u2,300)'<br>
                > 'define qv2=vint(p850,q2*v2,300)'<br>
                ><br>
                ><br>
                > 'set dfile 1'<br>
                > 'define q1=ave(q,t=1,t=92)'<br>
                > 'define u1=ave(u,t=1,t=92)'<br>
                > 'define v1=ave(v,t=1,t=92)'<br>
                > 'p850 = const(q1,850,-a)'<br>
                > 'define qu1=vint(p850,q2*u2,300)'<br>
                > 'define qv1=vint(p850,q2*v2,300)'<br>
                > 'define m1 = -hdivg(qu1,qv1)*1000'<br>
                ><br>
                > ****differences<br>
                > 'define flxu=qu2-qu1'<br>
                > 'define flxv=qv2-qv1'<br>
                > 'define udiff=u2-u1'<br>
                > 'define vdiff=v2-v1'<br>
                ><br>
                > ****plot<br>
                > 'set yflip on'<br>
                > 'set lon 16 75'<br>
                > 'set lat -18 24'<br>
                > 'run tppage 8<br>
                > 1'<br>
                ><br>
                > 'set xlint 10'<br>
                > 'set ylint 5'<br>
                > 'set mpdset hires'<br>
                > *'set gxout shaded'<br>
                > 'set clab on'<br>
                > 'set grid off'<br>
                > 'set grads off'<br>
                > 'set csmooth on'<br>
                > 'set clopts 1 3 .14'<br>
                > 'set ccolor 1'<br>
                > 'set display color white'<br>
                > 'c'<br>
                > ***define horizontal Diveregence at this point<br>
                ><br>
                > 'set clevs   -2.5 -2 -1.5 -1 -0.5  0 0.5 1 1.5 2
                2.5'<br>
                > 'run <a href="http://red-blue.gs" rel="noreferrer" target="_blank">red-blue.gs</a>'<br>
                > *'<a href="http://green_red.gs" rel="noreferrer" target="_blank">green_red.gs</a>'<br>
                > 'set gxout shaded'<br>
                > 'set csmooth on'<br>
                > 'd -hdivg(qu2,qv2)*1000'<br>
                ><br>
                ><br>
                > 'cbar'<br>
                ><br>
                > 'set gxout vector'<br>
                > 'set cthick 1 '<br>
                > 'set ccols 1'<br>
                > 'set cthick 9'<br>
                > 'set clopts 1 1 0.1'<br>
                > 'set lev 500'<br>
                > *'set t 1 90'<br>
                > 'set arrscl 0.25'<br>
                > 'd skip(u,8);skip(v,8)'<br>
                > *'d mag(u1,v1)'<br>
                > 'set clab off'<br>
                > 'draw title  a) GRELL'<br>
                > 'close 1'<br>
                ><br>
                ><br>
              </div>
            </div>
            > ______________________________<wbr>_________________<br>
            > gradsusr mailing list<br>
            > <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
            > <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
            <br>
            ______________________________<wbr>_________________<br>
            gradsusr mailing list<br>
            <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
            <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="m_-7486965566366816378mimeAttachmentHeader"></fieldset>
      <br>
      <pre>______________________________<wbr>_________________
gradsusr mailing list
<a class="m_-7486965566366816378moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a class="m_-7486965566366816378moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>