Jump to content

File:NumPy Matplotlib sin x plotted with red dots.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 576 × 432 pixels, file size: 25 KB)

Summary

Description
Русский: График функции y=sin(x), построенный с использованием библиотек NumPy и Matplotlib, в результате выполнения следующего кода:
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()
Date
Source Own work
Author MarsJson

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
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.

Captions

Plot of y=sin(x) function, created with NumPy and Matplotlib libraries

Items portrayed in this file

depicts

18 January 2024

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current00:02, 18 January 2024Thumbnail for version as of 00:02, 18 January 2024576 × 432 (25 KB)MarsJsonUploaded while editing "NumPy" on ru.wiki.x.io

The following page uses this file:

Global file usage

The following other wikis use this file:

  • Usage on ru.wiki.x.io

Metadata