Fix of typos, added explanation for Q.

In response to reader's email.
This commit is contained in:
Roger Labbe 2015-08-22 11:50:47 -07:00
parent ce1aa7c6ea
commit 07931e84de
3 changed files with 75 additions and 71 deletions

File diff suppressed because one or more lines are too long

View File

@ -86,7 +86,7 @@ def plot_kf_output(xs, filter_xs, zs, title=None, aspect_equal=True):
if zs is not None:
plot_measurements(zs)
show_legend()
set_labels(title=title, x='meters', y='time (sec)')
set_labels(title=title, y='meters', x='time (sec)')
if aspect_equal:
plt.gca().set_aspect('equal')
plt.xlim((-1, len(xs)))

View File

@ -327,6 +327,8 @@ def plot_scatter_of_bearing_error():
xs.append(d*math.cos(a))
ys.append(d*math.sin(a))
plt.scatter(xs, ys)
plt.xlabel('x')
plt.ylabel('y')
def plot_scatter_moving_target():