<div dir="ltr"><div class="gmail_default"><font face="arial, helvetica, sans-serif">The thing to remember about vector and contour levels both is that they represent values between colors, and not exactly equal to colors.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">I&#39;m not sure what you mean by &quot;<span style="color:rgb(51,51,51);line-height:23.3333339691162px">but the color is less than the speed. It is at too low class at speed about .&quot;  Can you please describe your problem another way, and may include an image and explain what you think is wrong about it?<br><br></span></font></div><div class="gmail_default"><span style="color:rgb(51,51,51);line-height:23.3333339691162px"><font face="arial, helvetica, sans-serif">Thanks,</font></span></div><div class="gmail_default"><span style="color:rgb(51,51,51);line-height:23.3333339691162px"><font face="arial, helvetica, sans-serif"><br></font></span></div><div class="gmail_default"><span style="color:rgb(51,51,51);line-height:23.3333339691162px"><font face="arial, helvetica, sans-serif">--Mary</font></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(51,51,51);font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;line-height:23.3333339691162px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 10, 2014 at 6:40 AM, chenxiaochen <span dir="ltr">&lt;<a href="mailto:chenxiaochen@aliyun.com" target="_blank">chenxiaochen@aliyun.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:#333333;font-size:14px;font-family:Tahoma,Arial,STHeiti,SimSun"><span style="font-size:14px">dear nc-talk everyone~</span><br></div><div><div style="margin:0px;padding:0px;border:0px;outline:rgb(0,0,0);color:rgb(51,51,51);font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:23.33333396911621px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-family:Tahoma,Arial,STHeiti,SimSun">    I found a problem when I use gsn_csm_vector_scalar . I use <span style="margin:0px;padding:0px;border:0px;outline:rgb(0,0,0);color:rgb(51,51,51);font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:21px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">CurlyVector , </span><span> </span>I set res@vcLevelSelectionMode = &quot;ManualLevels&quot;  and res@vcMaxLevelValF = 15 to control the color of vectors,but the color is less than the speed. It is at too low class at speed about . if  I <span> </span><span style="margin:0px;padding:0px;border:0px;outline:rgb(0,0,0);color:rgb(51,51,51);font-family:Arial,宋体,微软雅黑;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:24px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">remove these item or use another vector style  it colored well.please help me,maybe it&#39;s a bug.</span></div><div style="margin:0px;padding:0px;border:0px;outline:rgb(0,0,0);color:rgb(51,51,51);font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:23.33333396911621px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-family:Tahoma,Arial,STHeiti,SimSun"><span style="margin:0px;padding:0px;border:0px;outline:rgb(0,0,0);color:rgb(51,51,51);font-family:Arial,宋体,微软雅黑;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:24px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">my script</span></div><div style="margin:0px;padding:0px;border:0px;outline:rgb(0,0,0);color:rgb(51,51,51);font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:23.33333396911621px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-family:Tahoma,Arial,STHeiti,SimSun"><span style="margin:0px;padding:0px;border:0px;outline:rgb(0,0,0);color:rgb(51,51,51);font-family:Arial,宋体,微软雅黑;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:24px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></span></div><div style="margin:0px;padding:0px;border:0px;outline:rgb(0,0,0);color:rgb(51,51,51);font-family:Tahoma,Arial,SimSun;font-size:14.44444465637207px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:23.33333396911621px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl&quot;<br>load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl&quot;<br>begin<br>f1 = addfile(&quot;~/ncl/<a href="http://uwnd.mon.ltm.nc" target="_blank">uwnd.mon.ltm.nc</a>&quot;,&quot;r&quot;)<br>f2 = addfile(&quot;~/ncl/<a href="http://vwnd.mon.ltm.nc" target="_blank">vwnd.mon.ltm.nc</a>&quot;,&quot;r&quot;)<br>level=925<br>wks_type = &quot;pdf&quot;<span> </span><br>wks=gsn_open_wks(wks_type,&quot;003&quot;)<br>u=f1-&gt;uwnd(6,925,:,:)<br>v=f2-&gt;vwnd(6,925,:,:)<br>speed=u<br>speed=sqrt(u^2+v^2)<br><br>vres = True<br>vres@vcLevelPalette = &quot;ncl_default&quot;<br><br>vres@vcLevelSelectionMode = &quot;ManualLevels&quot;<br>vres@vcMaxLevelValF = 20<br><br> vres@vcGlyphStyle = &quot;CurlyVector&quot; <br> vres@vcRefMagnitudeF = 5.0 ; make vectors larger<br> vres@vcRefLengthF = 0.050 ; ref vec length<br> vres@vcMinDistanceF = 0.02 ; thin out vectors<br> vres@vcRefAnnoOn = True <br> plot = gsn_csm_vector_scalar_map_ce(wks,u,v,speed, vres)<br></div><div style="margin:0px;padding:0px;border:0px;outline:rgb(0,0,0);color:rgb(51,51,51);font-family:Tahoma,Arial,SimSun;font-size:14.44444465637207px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:23.33333396911621px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">end</div><div style="margin:0px;padding:0px;border:0px;outline:rgb(0,0,0);color:rgb(51,51,51);font-family:Tahoma,Arial,SimSun;font-size:14.44444465637207px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:23.33333396911621px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div> <br></div></div><br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>