[ncl-talk] gsnXYBarChartColors request
Alan Brammer
abrammer at albany.edu
Mon Aug 17 12:21:53 MDT 2015
If it's not already in the pipeline, can rgba functionality be added to
gsnXYBarChartColors at some point. In the intermediate time, it could be
helpful to add to the documentation that it's colormap or named colors only
at this point. I just went back and forth trying to make this work and
failing with no obvious reason.
I may be doing something wrong here, but I couldn't make it work.
Alan.
test script:
y := (/ 17., 16., 20., 21., 4./)
x := (/0,1,2,3,4/)
colors := (/
(/0.972549,0,0/),(/0.533333,0.25098,0.12549/),(/0,0,0.972549/),(/0.972549,0.470588,0/),(/0.972549,0,0.972549/)
/)
bars := True
bars at gsnXYBarChart = True
bars at trYMinF = 0.
bars at gsnXYBarChartColors := colors
plot = gsn_csm_xy(wks,x, y, bars)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150817/08a3fe9f/attachment.html
More information about the ncl-talk
mailing list