<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 :) Thanks, Adam.<br><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>* Nicole Schiffer<br>* Graduate Research Assistant<br>* Department of Atmospheric Sciences<br>* University of Illinois, Urbana-Champaign<br>* Email: nschiff2 [at] illinois [dot] edu<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></span><br>----- "Adam Phillips" <asphilli@ucar.edu> 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>| gsn_define_colormap(wsplot,"BlWhRe") ; sets your colormap to <br>| BlWhRe<br>| gsn_reverse_colormap(wsplot)<br>| newc1 = NhlNewColor(wsplot,0.5,0.5,0.5) ; adds gray50 to the <br>| colormap<br>| newc2 = NhlNewColor(wsplot,0,0,0) ; adds black to colormap<br>| 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>| > I'm attempting to make grey vectors using resbvect@vcLineArrowColor, but<br>| > they are showing up as light red. I've checked that the resources are<br>| > correctly matched to the variables in plotting. Any other ideas? The<br>| > script is attached. Thanks.<br>| ><br>| > Nicole<br>| ><br>| > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>| > * Nicole Schiffer<br>| > * Graduate Research Assistant<br>| > * Department of Atmospheric Sciences<br>| > * University of Illinois, Urbana-Champaign<br>| > * Email: nschiff2 [at] illinois [dot] edu<br>| > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>| ><br>| ><br>| ><br>| > _______________________________________________<br>| > ncl-talk mailing list<br>| > List instructions, subscriber options, unsubscribe:<br>| > http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br>| <br>| -- <br>| __________________________________________________<br>| Adam Phillips <br>| asphilli@ucar.edu<br>| National Center for Atmospheric Research tel: (303) 497-1726<br>| Climate and Global Dynamics Division fax: (303) 497-1333<br>| P.O. Box 3000 <br>| Boulder, CO 80307-3000 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>