File:Matplotlib xkcd.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Matplotlib_xkcd.png(640 × 480 pixels, file size: 48 KB, MIME type: image/png)

Captions

Captions

Sine function image with matplotlib, xkcd themed

Summary[edit]

Description
English: Source code:

import matplotlib.pyplot as plt import numpy as np

plt.xkcd()

t = np.arange(0.0, 10.0, 0.01) s = np.sin(t)

fig, ax = plt.subplots() ax.plot(t, s)

plt.axis([0, 10, -1.1, 1.1])

plt.title('Sine function') fig.savefig("Matplotlib_xkcd.png")

plt.show()
Date
Source Own work
Author 北纬的星空

Licensing[edit]

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.

File history

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

Date/TimeThumbnailDimensionsUserComment
current12:26, 5 July 2021Thumbnail for version as of 12:26, 5 July 2021640 × 480 (48 KB)北纬的星空 (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file:

Metadata