File:Logarithmic-integral function.svg

Uploaded by ARAKI Satoru
Upload date 2021-12-21T12:28:54Z
MIME type image/svg+xml
Dimensions 576 × 432 px
File size 25.1 KB

Summary

Description
English: The graph of the logarithmic-integral function li(x).
Date
Source Own work
Author ARAKI Satoru
from sympy import symbols, li
from sympy.plotting import plot
x = symbols('x')

from matplotlib.pyplot import rcParams
rcParams['text.usetex']=True
rcParams['axes.grid']=True
rcParams['xtick.direction']='inout'
rcParams['ytick.direction']='inout'
rcParams['grid.linewidth']=0.1

e = 0.01
p = plot(
    (li(x), (x, 0 + e, 1 - e)),
    (li(x), (x, 1 + e, 5.5)),
    xlim=(-0.5, 5.5),
    ylim=(-1.5, 4.5),
    xlabel='$x$',
    ylabel='$y$',
    line_color='C1',
    title=r'$\displaystyle \mathrm{li}(x) = \int_0^x \frac{dt}{\ln t}$',
    aspect_ratio=(1.6, 1),
    show=False
    )
p.save('Logarithmic-integral function.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.

Captions

The graph of the logarithmic-integral function li(x).

Items portrayed in this file

depicts

21 December 2021

25,745 byte

image/svg+xml

a1b94415fa7bd43fab3766f6c26c78665e439e1e

Category:CC-BY-SA-4.0 Category:Logarithmic integral function Category:Matplotlib Category:Self-published work