pst-func: plotting special mathematical functions
- Chebyshev polynomials
- psPolynomial (with derivations)
- psBernstein (with envelope option)
- psSi and pssi (integral sin)
- psCi and psci (integral cosin)
- psFDist for F-distribution
- psTDist for Student's t-distribution
- psBetaDist for Beta distribution
- psWeibull for Weibull distribution
- psLame (Lamé Curve - a superellipse)
- psThomae (popcorn function)
- psWeierstrass (original and modified)
- psplotImp (plotting implicit defined functions)
- psVolume (rotating f(x) around the x-axis)
%% This program can be redistributed and/or modified under the terms %% of the LaTeX Project Public License Distributed from CTAN archives %% in directory macros/latex/base/lppl.txt.
Save the files pst-func.sty|pro|tex in a directory, which is part of your local TeX tree. The pro file should go into $TEXMF/dvips/pstricks/ Then do not forget to run texhash to update this tree.
pst-func needs pst-plot (pstricks-add) and pstricks, which should be part of your local TeX installation, otherwise get it from a CTAN server, http://mirror.ctan.org
PSTricks is PostScript Tricks, the documentation cannot be run with pdftex, use the sequence latex->dvips->ps2pdf or pdflatex with package auto-pst-pdf or xelatex.
%% $Id: README 897 2014-03-21 08:06:41Z herbert $
Download the contents of this package in one zip archive (3.4M).
pst-func – PSTricks package for plotting mathematical functions
The package is built for use with PSTricks. It provides macros for plotting and manipulating various mathematical functions:
- polynomials and their derivatives f(x)=an*x^n+an-1*x^(n-1)+...+a0 defined by the coefficients a0 a1 a2 ... and the derivative order;
- the Fourier sum f(x) = a0/2+a1cos(omega x)+...+b1sin(omega x)+... defined by the coefficients a0 a1 a2 ... b1 b2 b3 ...;
- the Bessel function defined by its order;
- the Gauss function defined by sigma and mu;
- Bézier curves from order 1 (two control points) to order 9 (10 control points);
- the superellipse function (the Lamé curve);
- Chebyshev polynomials of the first and second kind;
- the Thomae (or popcorn) function;
- the Weierstrass function;
- various integration-derived functions;
- normal, binomial, poisson, gamma, chi-squared, student’s t, F, beta, Cauchy and Weibull distribution functions and the Lorenz curve;
- the zeroes of a function, or the intermediate point of two functions;
- the Vasicek function for describing the evolution of interest rates; and
- implicit functions.
The plots may be generated as volumes of rotation about the X-axis, as well.
|Licenses||The LaTeX Project Public License|
|Contained in||TeX Live as pst-func|
MiKTeX as pst-func
Graphics plot function