1
0
Fork 0
Browse Source

add artwork title to graph.

master
Craig Oates 3 years ago
parent
commit
f017ce352a
  1. 6
      light-wave.py

6
light-wave.py

@ -17,9 +17,9 @@ ax = fig.add_subplot(1, 1, 1)
ys1 = [0] * x_length
ys2 = [0] * x_length
ax.set_ylim(y_range)
line1, = ax.plot(ys1, label='factory1')
line2, = ax.plot(ys2, label='factory2')
plt.title("Light Meter Readings in Ritherdon")
line1, = ax.plot(ys1, label='factory1 (Ross)')
line2, = ax.plot(ys2, label='factory2 (Tony)')
plt.title("Personal Flash in Real-Time -- Light Meter Readings in Ritherdon")
plt.xlabel("<--- Oldest (Time) Latest --->")
plt.ylabel("Light")
plt.legend(loc='lower left')