Advertisement
KodingKid

Making and customising graphs in Python

Apr 10th, 2021
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. import matplotlib.pyplot as plt
  2. import numpy as np
  3. xpoints = np.array([1, 10])
  4. ypoints = np.array([100, 200])
  5. plt.plot(xpoints, ypoints)
  6. plt.show()
  7. plt.plot(ypoints, marker = '*', ms = 20, mec = 'firebrick', mfc = 'firebrick', linestyle = 'dotted')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement