Created
May 23, 2019 20:41
-
-
Save pjastr/2200ca59fdbd446c6cc86ecfcd18d457 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import numpy as np | |
x = np.arange(-5, 5, 0.01) | |
y = np.exp(x) + np.sin(x) | |
plt.plot(x, y, label="y=e^x+sin(x)") | |
plt.xlabel('Oś x') | |
plt.ylabel('Oś y') | |
plt.title('Wykres funkcji y=e^x+sin(x)') | |
plt.grid(True) | |
plt.legend() | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment