<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Courier; font-size: 10pt; color: #000000'><span>That worked :)&nbsp; Thanks, Adam.<br><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>* &nbsp; &nbsp; Nicole Schiffer<br>* &nbsp; &nbsp; Graduate Research Assistant<br>* &nbsp; &nbsp; Department of Atmospheric Sciences<br>* &nbsp; &nbsp; University of Illinois, Urbana-Champaign<br>* &nbsp; &nbsp; Email: nschiff2 [at] illinois [dot] edu<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></span><br>----- "Adam Phillips" &lt;asphilli@ucar.edu&gt; wrote:
<br>| Hi Nicole,<br>| You are setting resbvect@vcLineArrowColor = (/0.8,0.8,0.8/), which is <br>| equivalent to the color gray80 (a light gray). Looking at your colormap <br>| setup, gray80 is not present, although gray50 is:<br>| <br>| &nbsp;&nbsp; gsn_define_colormap(wsplot,"BlWhRe") &nbsp; &nbsp; &nbsp; &nbsp; ; sets your colormap to <br>| BlWhRe<br>| &nbsp;&nbsp; gsn_reverse_colormap(wsplot)<br>| &nbsp;&nbsp; newc1 = NhlNewColor(wsplot,0.5,0.5,0.5) &nbsp; &nbsp; &nbsp;; adds gray50 to the <br>| colormap<br>| &nbsp;&nbsp; newc2 = NhlNewColor(wsplot,0,0,0) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; adds black to colormap<br>| &nbsp;&nbsp; newc3 = NhlNewColor(wsplot,0.5,0.5,0.5)<br>| <br>| The newc2 and newc3 lines aren't necessary, as they add black (already <br>| present in the BlWhRe colormap) and again add gray50.<br>| <br>| When you request a color that isn't in your colormap, NCL will try to <br>| choose the color that it thinks is closest to the one you want. In this <br>| case when you requested gray80 it chose a light red.<br>| <br>| Try setting this:<br>| newc2 = NhlNewColor(wsplot,.8,.8,.8)<br>| <br>| and I bet the vectors will get colored correctly..<br>| Hope that helps..<br>| Adam<br>| <br>| <br>| On 01/21/2010 12:06 PM, Nicole Schiffer wrote:<br>| &gt; I'm attempting to make grey vectors using resbvect@vcLineArrowColor, but<br>| &gt; they are showing up as light red. I've checked that the resources are<br>| &gt; correctly matched to the variables in plotting. Any other ideas? The<br>| &gt; script is attached. Thanks.<br>| &gt;<br>| &gt; Nicole<br>| &gt;<br>| &gt; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>| &gt; * Nicole Schiffer<br>| &gt; * Graduate Research Assistant<br>| &gt; * Department of Atmospheric Sciences<br>| &gt; * University of Illinois, Urbana-Champaign<br>| &gt; * Email: nschiff2 [at] illinois [dot] edu<br>| &gt; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>| &gt;<br>| &gt;<br>| &gt;<br>| &gt; _______________________________________________<br>| &gt; ncl-talk mailing list<br>| &gt; List instructions, subscriber options, unsubscribe:<br>| &gt; http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br>| <br>| -- <br>| __________________________________________________<br>| Adam Phillips <br>| asphilli@ucar.edu<br>| National Center for Atmospheric Research &nbsp; tel: (303) 497-1726<br>| Climate and Global Dynamics Division &nbsp; &nbsp; &nbsp; &nbsp; fax: (303) 497-1333<br>| P.O. Box 3000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>| Boulder, CO 80307-3000 &nbsp; &nbsp;http://www.cgd.ucar.edu/cas/asphilli<br>| _______________________________________________<br>| ncl-talk mailing list<br>| List instructions, subscriber options, unsubscribe:<br>| http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br>| </div></body></html>