Python Example

From Advanced Labs Wiki
Jump to navigation Jump to search
%matplotlib inline
import matplotlib.pyplot as plt 

x = [1,2,3]
y = [4,5,6]

plt.plot(x,y)
plt.xlabel('x (m)')
plt.ylabel('y (m)')