Skip to content

Commit

Permalink
display in top left
Browse files Browse the repository at this point in the history
  • Loading branch information
goldbattle committed Nov 24, 2022
1 parent 6de14bc commit d2cfd32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def plotIMURates(cself, iidx, fno=1, clearFigure=True, noShow=False):
f.clf()
f.suptitle("imu{0}: sample inertial rate".format(iidx))
pl.scatter(times, rates, s=sizes, c=colors, marker="x")
pl.text(0.1, 0.2, 'avg dt ('+unit+') = {:.2f} +- {:.4f}'.format(rate_avg, rate_std), fontsize=12, transform=f.gca().transAxes)
pl.text(0.1, 0.9, 'avg dt ('+unit+') = {:.2f} +- {:.4f}'.format(rate_avg, rate_std), fontsize=12, transform=f.gca().transAxes)
pl.grid('on')
pl.xlabel("time (s)")
pl.ylabel("sample rate ("+unit+")")
Expand Down

0 comments on commit d2cfd32

Please sign in to comment.