ml/w1/d0/main.py
2021-09-22 13:51:05 -04:00

14 lines
252 B
Python

import numpy as np
import matplotlib.pyplot as plt
def main():
x = np.linspace(0, 20, 100)
plt.plot(x, np.sin(x))
plt.xlabel("x")
plt.xlabel("sin(x)")
plt.title("A sine curve")
plt.show()
if __name__ == "__main__":
main()