def plot_percentages_being(grid, percentages_being, xedges, yedges, sig):
	fig = plt.figure()
	ax = fig.gca()
	ax.set_title('histogram with percentagles\nbegining in field {}cm x {}cm [time %].'.format(grid, grid))
	im = mpl.image.NonUniformImage(ax, interpolation='nearest')
	xcenters = xedges[:-1] + 0.5 * (xedges[1:] - xedges[:-1])
	ycenters = yedges[:-1] + 0.5 * (yedges[1:] - yedges[:-1])
	im.set_data(xcenters, ycenters, percentages_being.T)
	plt.colorbar(mappable=im, ax=ax)
	ax.images.append(im)  
	ax.set_xlim(xedges[0], xedges[-1])
	ax.set_ylim(yedges[0], yedges[-1])
	ax.set_aspect('equal')
	ax.set_xlabel('x [cm]')
	ax.set_ylabel('y [cm]')
	ax.plot(sig[0], sig[1], 'w')