i would like to plot my data in such a fashion, that bars are grouped up?Something like this:

my code looks like this so far:
data = NP.genfromtxt('newfile',unpack=True,names=True,dtype=None)
for i in sample:
mask = data['name'==sample]
ax2.bar(pos-0.5,(data['data']*100,label="samples", color="lightblue")
This created several graphs instead of a combined one, though. How do i convert this into a grafic looking like the one i presented above?
Without having all the code listed, I had to make some assumptions about the data and about what you wanted. Thus, I haven’t tested this code with actual data. I have tried to document my assumptions carefully in the code below. If you have problems with what I’ve posted, perhaps you could post the text file mentioned in the first line of your code.