Hello,
I need to prepare a black&white bar chart with several sets of bars.
Now, I have white bars and black bars but I need more colorings that are distinguishable in black&white.
Is it possible to make bars filled with some texture or tiling or a grid?
Excel has this function but I could not find a way to do it in python/matplotlib.
Thanks,
Eli
It's not what one would call a turn-key solution, but it is possible:
http://matplotlib.sourceforge.net/examples/pylab_examples/demo_ribbon_box.html
Ryan
···
On Sun, Sep 19, 2010 at 11:32 PM, Eli Brosh <ebrosh1@...287...> wrote:
Hello,
I need to prepare a black&white bar chart with several sets of bars.
Now, I have white bars and black bars but I need more colorings that are
distinguishable in black&white.
Is it possible to make bars filled with some texture or tiling or a grid?
Excel has this function but I could not find a way to do it in
python/matplotlib.
--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
There is also hatching
http://matplotlib.sourceforge.net/examples/pylab_examples/hatch_demo.html
JDH
···
On Mon, Sep 20, 2010 at 8:43 AM, Ryan May <rmay31@...287...> wrote:
It's not what one would call a turn-key solution, but it is possible:
http://matplotlib.sourceforge.net/examples/pylab_examples/demo_ribbon_box.html
Thank you John and Ryan,
I like the hatching solution very much.
Eli
···
On Mon, Sep 20, 2010 at 3:48 PM, John Hunter <jdh2358@…287…> wrote:
On Mon, Sep 20, 2010 at 8:43 AM, Ryan May <rmay31@…287…> wrote:
It’s not what one would call a turn-key solution, but it is possible:
http://matplotlib.sourceforge.net/examples/pylab_examples/demo_ribbon_box.html
There is also hatching
http://matplotlib.sourceforge.net/examples/pylab_examples/hatch_demo.html
JDH