File:2 example.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 736 × 496 pixels. Other resolutions: 320 × 216 pixels | 640 × 431 pixels | 1,024 × 690 pixels | 1,280 × 863 pixels | 2,560 × 1,725 pixels.
Original file (SVG file, nominally 736 × 496 pixels, file size: 101 KB)
File information
Structured data
Captions
Summary[edit]
Description2 example.svg |
English: Vectorized plot of several cubic functions. |
||
Date | |||
Source | 2_example.JPG | ||
Author |
|
||
Other versions |
|
Source code[edit]
This W3C-invalid plot was created with Matplotlib.
Source Code in python: |
---|
import matplotlib.pyplot as plt
x_s = [ t/10 - 1 for t in range(400) ]
y_1 = [ (x - 1)**3 + 1 for x in x_s ]
y_2 = [ (x - 2)**3 + 2 for x in x_s ]
y_3 = [ (x - 1)**3 for x in x_s ]
fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot(x_s, y_1, label='Equation 1: $y=(x-1)^3+1$')
ax.plot(x_s, y_2, label='Equation 2: $y=(x-2)^3+2$')
ax.plot(x_s, y_3, label='Equation 3: $y=(x-1)^3$')
ax.legend(loc=2)
ax.grid()
plt.ylim(-1, 3)
plt.xlim(-1, 3)
ax.set_aspect(0.67)
plt.show()
|
Licensing[edit]
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported 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/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 18:08, 8 June 2013 | 736 × 496 (101 KB) | Azaghal of Belegost (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 736 |
---|---|
Height | 496 |