[ncl-talk] Adding label bars to an xy (bar) graph
Barry Lynn
barry.h.lynn at gmail.com
Wed Aug 29 09:39:36 MDT 2018
Hello:
I don't find an example that quite fits my needs.
I've overlayed three bar graphs on a single graph, and I want to add label
bars.
I am not sure how to best set the colors, since the colors change across
the bar graph, but besides that it seems difficult to set the patterns
correctly.
*lbres at lbFillColors = res at gsnXYBarChartColors ; labelbar colors*
*lbres at lbMonoFillPattern = (/0,1,16/)*
*This output the first 1,2,3 patterns on the page.*
*https://www.ncl.ucar.edu/Document/Graphics/Images/fillpatterns.png
<https://www.ncl.ucar.edu/Document/Graphics/Images/fillpatterns.png>*
*and not the number of the patterns specified.*
(Also, the bottom most should be solid, of course.)
--
Barry H. Lynn, Ph.D
Senior Associate Scientist, Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581
C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180829/4c0c518c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: try_bars.ncl
Type: application/octet-stream
Size: 3190 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180829/4c0c518c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bars.png
Type: image/png
Size: 76849 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180829/4c0c518c/attachment.png>
More information about the ncl-talk
mailing list