Made plots interactive

This commit is contained in:
Roger Labbe
2016-02-27 21:40:21 -08:00
parent ef67326af6
commit a647f96388
8 changed files with 72765 additions and 721 deletions

View File

@@ -40,8 +40,9 @@ def plot_track_and_residuals(t, xs, z_xs, res):
plt.title('residuals')
plt.show()
def plot_markov_chain():
plt.figure(figsize=(4,4), facecolor='w')
fig = plt.figure(figsize=(4,4), facecolor='w')
ax = plt.axes((0, 0, 1, 1),
xticks=[], yticks=[], frameon=False)
#ax.set_xlim(0, 10)
@@ -98,6 +99,7 @@ def plot_markov_chain():
plt.axis('equal')
plt.show()
bp.end_interactive(fig)
def turning_target(N=600, turn_start=400):