File:Levyskew distributionPDF.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 460 × 310 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 460 × 310 pixels, file size: 71 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionLevyskew distributionPDF.svg |
English: Skewed centered Levy distributions with unit scale factor |
Date | |
Source | Original png graphic was made by PAR and can be found at Levyskew distributionPDF.png |
Author | Eitanlees |
SVG development InfoField | This plot was created with Matplotlib. |
Source code InfoField | Python codeimport numpy as np
import matplotlib.pyplot as plt
from scipy import stats
from matplotlib.ticker import MultipleLocator
plt.rcParams.update({
"text.usetex": True,
"font.family": "serif",
})
x = np.linspace(-4, 4, 500)
beta_list = [0.0, 0.25, 0.50, 0.75, 1.00]
y = [stats.levy_stable.pdf(x, 0.5, beta) for beta in beta_list]
fig, ax = plt.subplots()
c = ['black', 'blue', 'lime', 'red', 'magenta']
for i, data in enumerate(y):
ax.plot(x, data, color=c[i], label=r'$\beta=' + str(beta_list[i]) + r'$')
ax.xaxis.set_minor_locator(MultipleLocator(.25))
ax.xaxis.set_major_locator(MultipleLocator(2))
ax.yaxis.set_minor_locator(MultipleLocator(.01))
ax.tick_params(axis='both', which='both', direction='in', top=True, right=True)
ax.set(ylim=(0, 0.7), xlim=(-4, 4))
plt.plot([], [], ' ', label=r'$\alpha = 0.5$')
plt.plot([], [], ' ', label=r'$c=1$')
plt.plot([], [], ' ', label=r'$\mu=0$')
plt.legend(frameon=False)
fig.savefig('Levyskew_distributionPDF.svg', bbox_inches='tight')
|
}}
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following license:
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/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 20:54, 20 October 2020 | 460 × 310 (71 KB) | Eitanlees (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on ca.wikipedia.org
- Usage on en.wikipedia.org
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 | 367.920747pt |
---|---|
Height | 247.654926pt |