1

I have a 2D array (3x3), and I want to generate a bar graph from each row vector that contains 3 bar charts like this: http://www.flickr.com/photos/altaf009_forums/8265573801/

This is easy with MATLAB 'bar' function, just passing the array as a parameter, how can I do it in python? I also want those xticklabels as shown in the picture. Thanks.

4

1 に答える 1

3

おそらく、次の Matplotlib の例を Web サイトから変更 (および単純化) できます: http://matplotlib.org/examples/pylab_examples/barchart_demo.html

ここに画像の説明を入力

于 2012-12-12T07:35:38.693 に答える