File:Matplotlib basic v.svg

Summary

Description
English: Basic plot with matplotlib.
Date
Source Own work
Author IkamusumeFan
Other versions
A raster version of this image is available. It should be used in place of this vector image when superior.
File:Matplotlib basic v.svgFile:Matplotlib basic.png

In general, it is better to use a good SVG version.


Bitmap image
Category:Bitmap version available
SVG development
InfoField

Source code

The logo of Matplotlib – comprehensive library for creating static, animated, and interactive visualizations in Python
The logo of Matplotlib – comprehensive library for creating static, animated, and interactive visualizations in Python
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.

Deutsch  English  +/−

#!/usr/bin/env python
 
"""This generates the graph of the function f(x) = exp(-x)."""
# Author: Ika. 2015-08-08
 
import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(0, 10, 100)
y = np.exp(-x)
plt.plot(x, y)

plt.savefig("matplotlib_basic.svg")

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.
Category:CC-BY-SA-4.0#Matplotlib%20basic%20v.svgCategory:Self-published work
Category:Exponential functions Category:SVG created with Matplotlib
Category:Bitmap version available Category:CC-BY-SA-4.0 Category:Exponential functions Category:Images with Matplotlib source code Category:SVG created with Matplotlib Category:Self-published work Category:Valid SVG created with Matplotlib