Re: [Matplotlib-users] barchart: center xticklabels for only one data set

2009-03-07 Thread Jae-Joon Lee
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.bar use ax.set_xticks(ind+width*.5) instead of ax.set_xticks(ind+width) -JJ On Thu, Mar 5, 2009 at 1:40 PM, Timmie timmichel...@gmx-topmail.de wrote: Hello, I tried to modify the bar chart demo for my case. I

[Matplotlib-users] barchart: center xticklabels for only one data set

2009-03-05 Thread Timmie
Hello, I tried to modify the bar chart demo for my case. I want to plot only bar charts for one data set. But the xticklables are not centered below the bars, rather are they left in place as if there were still two data sets. How do I modify set_xticklabels in oder to get the lables centered