File:NumPy Matplotlib sin x plotted with red dots.svg
Summary
| Description |
Русский: График функции y=sin(x), построенный с использованием библиотек NumPy и Matplotlib, в результате выполнения следующего кода. |
| Date | |
| Source | Own work |
| Author | MarsJson |
| SVG development |
Source code

This media was created with Matplotlib (comprehensive library for creating static, animated, and interactive visualizations in Python)Category:Images with Matplotlib source code
Here is a listing of the source used to create this file.
Here is a listing of the source used to create this file.
import numpy as np
import matplotlib.pyplot as plt
# y = sin(x)
x = np.linspace(0, 2*np.pi, 100)
y = np.sin(x)
plt.plot(x, y,"ro")
plt.savefig('matplotlib_sin_x_red_dots.svg')
plt.show()
Licensing
MarsJson, the copyright holder of this work, hereby publishes it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
Attribution:
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.