File:Gamma plus sin pi z.svg
From testwiki
Jump to navigation
Jump to search
Original file (SVG file, nominally 576 × 426 pixels, file size: 23 KB)
Contents
This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.
Summary
| DescriptionGamma plus sin pi z.svg |
English: The Gamma function analytically continues the factorial function to non-integers. However it is not unique in this.
Here a periodic function which is 0 at the integer values shows how it may be added to the gamma function resulting in another analytic continuation of the factorials. |
| Date | |
| Source | Original png graphic was made by Wolfmankurd and can be found at File:Gamma_plus_sin_pi_z.png |
| Author | Eitanlees |
| SVG development InfoField | |
| Source code InfoField | Python codeimport numpy as np
import matplotlib.pyplot as plt
from scipy.special import gamma
lb_x, ub_x = (-4.9, 4.5)
lb_y, ub_y = (-1.2, 5.2)
x = np.linspace(-5, 5, int(1e5))
y = gamma(x)
y[y > 2*ub_y] = np.inf
y[y < lb_y] = -np.inf
g = np.sin(np.pi*x) + y
fig, ax = plt.subplots(figsize=(8,6))
ax.plot(x, y, color = '#2020CE')
ax.plot(x, g, color = '#10CD30')
ax.set(
xlim=(lb_x, ub_x),
ylim=(lb_y, ub_y)
)
ax.spines['right'].set_color('none')
ax.spines['top'].set_color('none')
ax.xaxis.set_ticks_position('bottom')
ax.spines['bottom'].set_position(('data',0))
ax.yaxis.set_ticks_position('left')
ax.spines['left'].set_position(('data',0))
ax.grid(True, linestyle='dashed')
plt.show()
|
Licensing
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.
Captions
A visualization showing how the gamma function is non unique
Items portrayed in this file
depicts
16 July 2019
image/svg+xml
23,466 byte
670bffce6388cda4798b45bbdf5e6876d03fd8ab
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:39, 16 July 2019 | 576 × 426 (23 KB) | wikimediacommons>Eitanlees | Remove borders |
File usage
There are no pages that use this file.