11 lines
181 B
Python
11 lines
181 B
Python
import matplotlib as plt
|
|
import numpy as np
|
|
|
|
def plot_sine():
|
|
xpoints = np.array([1,8])
|
|
ypoints = np.array([3,10])
|
|
|
|
plt.plot(xpoints,ypoints)
|
|
plt.show()
|
|
|
|
plot_sine() |