label=plan, color=color, hatch=style[2], yerr=speedup_std, error_kw=dict(ecolor='black', lw=2, capsize=5, capthick=2)) rects.append(rect) autolabel(ax, rect) # rects2 = ax.bar(ind + width/2, women_means, width, yerr=women_std, # color='IndianRed', label='Women') # Add some text for labels, title and custom x-axis tick labels, etc. ax.set_ylabel('Speedup') ax.set_title(label_memory[j]) ax.set_xticks(ind + (0.9 / len(datasets))) ax.set_xticklabels([better_name(x) for x in datasets]) ax.legend() fig.set_size_inches(12.5, 5.5) fig.subplots_adjust( top=0.9, left=0.1, right=0.9, bottom=0.2 ) # create some space below the plots by increasing the bottom-value plt.savefig("img/lzss_speedup.pdf", bbox_inches='tight', transparent="True", pad_inches=0)
capsize=5, capthick=2), label=mode, color=color, hatch=style[2]) rects.append(rect) autolabel(ax, rect) # rects2 = ax.bar(ind + width/2, women_means, width, yerr=women_std, # color='IndianRed', label='Women') # Add some text for labels, title and custom x-axis tick labels, etc. ax.set_ylabel('Tempo(seg.)') ax.set_title(label_memory[j]) ax.set_xticks([i * width for i, x in enumerate(modes)]) ax.set_xticklabels([better_name(x) for x in modes], rotation='45') # ax.set_yscale('log') # ax.legend() fig.set_size_inches(12.5, 5.5) fig.subplots_adjust( top=0.9, left=0.1, right=0.9, bottom=0.2 ) # create some space below the plots by increasing the bottom-value # plt.yscale("log", nonposy="clip") plt.savefig("img/dedup_speedup_{0}.pdf".format(plan), bbox_inches='tight', transparent="True", pad_inches=0)