Python Example

From Advanced Labs Wiki
Revision as of 00:27, 25 January 2015 by Tobias Marriage (talk | contribs) (Created page with '<pre> %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)') </pre>')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)')