<div dir="ltr">Hi Jared,<div>In the upcoming v6.4.0 release you will be able to specify RGB triplets in <span style="font-size:12.8px">gsnXYBarChartColors2. See the bottom of the page here:</span></div><div><span style="font-size:12.8px"><a href="http://www.ncl.ucar.edu/future_release.shtml#Improvements6.4.0">http://www.ncl.ucar.edu/future_release.shtml#Improvements6.4.0</a></span><br></div><div><br></div><div><span style="font-size:12.8px">If you are working on yellowstone you can use this capability now. Email me for directions if wanted.</span></div><div><span style="font-size:12.8px">Adam</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 12, 2017 at 2:26 PM, Jared Lee <span dir="ltr">&lt;<a href="mailto:jaredlee@ucar.edu" target="_blank">jaredlee@ucar.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, I have a script that generates some histograms, and also calculates the difference between those histograms and plots the difference as a bar chart. I have a custom colormap of RGB triplets (dimensions 256 x 3) that I use for the histogram (via gen_define_colormap), and if possible, I&#39;d like to use the same color scheme for the bar chart of the histogram differences.<div><br></div><div>When I try to set the resource gsnXYBarChartColors2 to this RGB triplet colormap, however, I get the following error:</div><div><br></div><div><div><div><font face="monospace, monospace">(0)<span class="m_6579292253533621117gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>gsn_csm_xy: Fatal: The resource for specifying bar colors must either be 1D, or 2D where the first dimension is equal to the number of Y reference lines or curves.</font></div><div><font face="monospace, monospace">(0)<span class="m_6579292253533621117gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>Will not fill your bar chart.</font></div></div><div><br></div><div>Is there a way around this? If not, I can settle for just coloring above/below the reference line red/blue (via gsnAboveYRefLineColor and gsnBelowYRefLineColor), even though it&#39;s not my preferred option.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Jared</div><div><br></div><div>-- <br></div><div class="m_6579292253533621117gmail_signature"><div dir="ltr"><div><div><div><div><div><font face="courier new, monospace">==============================<wbr>=<br>Jared A. Lee, Ph.D.<br></font></div><font face="courier new, monospace">Project Scientist I<br></font></div><font face="courier new, monospace">Research Applications Laboratory<br></font></div><font face="courier new, monospace">National Center for Atmospheric Research<br>Boulder, Colorado, USA<br><br></font></div><font face="courier new, monospace">Email: <a href="mailto:jaredlee@ucar.edu" target="_blank">jaredlee@ucar.edu</a> (w)<br></font></div><font face="courier new, monospace">Phone: <a href="tel:(303)%20497-8485" value="+13034978485" target="_blank">303.497.8485</a> (w)</font><div><font face="courier new, monospace">Web: <a href="https://staff.ucar.edu/users/jaredlee" target="_blank">https://staff.ucar.edu/users/<wbr>jaredlee</a><br>==============================<wbr>=</font><br></div></div></div>
</font></span></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><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a>   </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</div>