Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronma37 committed Mar 2, 2018
1 parent b08f8e5 commit 14c63da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ def main():
plt.xscale('log',basex=10)
#plt.title('Online algorithm performance',fontsize=16)
for d in data_list:
plt.errorbar(d.t,d.avg, yerr=d.var,label=d.name, fmt=d.marker,markersize=8,elinewidth=1)
upperlimits=d.var
lowerlimits=[0]*len(d.var)
plt.errorbar(d.t,d.avg, yerr=[upperlimits,lowerlimits],label=d.name, fmt=d.marker,markersize=8,elinewidth=1)
plt.legend(bbox_to_anchor=(0., 1.02, 1., .102), loc=3,ncol=3, mode="expand", borderaxespad=0.,prop={'size':15},frameon=False)
plt.show()

Expand Down

0 comments on commit 14c63da

Please sign in to comment.