diff --git a/Matplotlib Drawing/Problem 1/D.py b/Matplotlib Drawing/Problem 1/D.py new file mode 100644 index 0000000000000000000000000000000000000000..b9eb9afd6d5d31f01b356d782f0204693673502c --- /dev/null +++ b/Matplotlib Drawing/Problem 1/D.py @@ -0,0 +1,9 @@ +import numpy as np +import matplotlib.pyplot as plt +x = np.linspace(0.1, 2 * np.pi, 100) +y_1 = np.square(x) +y_2 = np.log(x) +y_3 = np.sin(x) +fig = plt.figure() +plt.plot(x,y_1, y_2, y_3) +plt.show() \ No newline at end of file