Last active
May 23, 2019 19:58
-
-
Save pjastr/6006957c13c317c2beacb5b3888ed360 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 numpy as np | |
import matplotlib.pyplot as plt | |
x = np.arange(14) | |
y = np.sin(x / 2) | |
plt.plot(x, y + 2, 'C0o', label="niebieski", linestyle='--') | |
plt.plot(x, y + 1, 'C1o', label="pomarańczowy", linestyle='-') | |
plt.plot(x, y, 'C2o', label="zielony") | |
plt.legend(title='Kolory') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment