Exemplo n.º 1
0
bflegend = ['1-Core', '2-Core', '4-Core']
bfystep = 3

bfplotname = 'bf-size'

#################################

plot = PlotLib()

legend = eflegend
plot.set_y_tics_step(efystep)
plot.set_y_tics_shift(0)
plot.set_legend_shift(-50, -10)
plot.set_plot_dimensions(150, 80)
plot.set_scale(0.5)
plot.set_y_tics_font_size("scriptsize")
plot.set_x_tics_font_size("scriptsize")
plot.set_y_label_font_size("small")
plot.set_x_label_font_size("small")
plot.set_ceiling(0.8)

plot.xlabel(efxlabel, yshift=-10, fontsize="small", options="[scale=0.8]")
plot.ylabel(efylabel, xshift=-2, fontsize="small", options="[scale=0.8]")

plot.continuous_lines(efdata,
                      legend=legend,
                      xtics=eaffrac,
                      use_markers=2,
                      x_padding=5)

#plot.column_stacked_bars(workload_order, [kv.values(name, key_order = workload_order) for name in mechanisms], legend)
Exemplo n.º 2
0
bflegend = ['1-Core', '2-Core', '4-Core']
bfystep = 3

bfplotname = 'bf-size'

#################################

plot = PlotLib()

legend = eflegend
plot.set_y_tics_step(efystep)
plot.set_y_tics_shift(0)
plot.set_legend_shift(-50,-10)
plot.set_plot_dimensions(150,80)
plot.set_scale(0.5)
plot.set_y_tics_font_size("scriptsize")
plot.set_x_tics_font_size("scriptsize")
plot.set_y_label_font_size("small")
plot.set_x_label_font_size("small")
plot.set_ceiling(0.8)

plot.xlabel(efxlabel, yshift = -10, fontsize = "small", options =
"[scale=0.8]")
plot.ylabel(efylabel, xshift = -2, fontsize = "small", options = "[scale=0.8]")

plot.continuous_lines(efdata, legend = legend, xtics = eaffrac, use_markers = 2, x_padding = 5)
                      
#plot.column_stacked_bars(workload_order, [kv.values(name, key_order = workload_order) for name in mechanisms], legend)
plot.save_pdf(efplotname)
plot.save_tikz(efplotname + ".tex")