# -*- coding: utf-8 -*- """ Created on Tue Oct 11 19:43:09 2022 @author: Roman """ import numpy as np import matplotlib.pyplot as plt x = np.linspace(0, 10, 200) y = np.cos(x) y1 = np.sin(x) plt.plot(x, y, '*r', label='cos') plt.plot(x, y1, label='sin') plt.xlabel('X') plt.ylabel('Y') plt.title('Title') plt.ylim(-1, 1) plt.legend() plt.grid() plt.show()