summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex29
1 files changed, 25 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex b/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex
index 3003c3c0856..bf8628902f5 100644
--- a/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex
@@ -1,12 +1,10 @@
-%% $Id: pst-func-doc.tex 918 2014-05-19 12:32:37Z herbert $
+%% $Id: pst-func-doc.tex 861 2018-12-13 20:40:06Z herbert $
\documentclass[fontsize=11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,
headings=small, headinclude=false,footinclude=false,oneside]{pst-doc}
-\usepackage[utf8]{inputenc}
\usepackage{pst-func}
\let\pstFuncFV\fileversion
\usepackage{pst-math}
\usepackage{pstricks-add}
-\usepackage{luatex85}
\usepackage{animate}
\renewcommand\bgImage{%
\psset{yunit=4cm,xunit=3}
@@ -19,7 +17,8 @@
\psGaussI[linewidth=1pt]{-2}{2}%
\psGauss[linecolor=cyan, mue=0.5, linewidth=2pt]{-1.75}{1.75}%
\psGauss[sigma=1, linecolor=blue, linewidth=2pt]{-1.75}{1.75}
-\end{pspicture}}
+\end{pspicture}%
+}
%\usepackage[style=dtk]{biblatex}
\addbibresource{pst-func-doc.bib}
@@ -92,6 +91,7 @@ and last but not least
\end{abstract}
+
\section{\nxLcs{psBezier\#}}
This macro can plot a B\'ezier spline from order $1$ up to $9$ which needs
(order+$1$) pairs of given coordinates.
@@ -120,6 +120,7 @@ and $n=\text{order}+1$ pairs of coordinates:
\Lcs{psBezier}\Larg{\#}\OptArgs\coord0\coord1\coordn
\end{BDef}
+
The number of steps between the first and last control points is given
by the keyword \Lkeyword{plotpoints} and preset to $200$. It can be
changed in the usual way.
@@ -1265,6 +1266,9 @@ Gaussian is varying its mean from -10 to 10, and the result is the integral from
Finally, in green it is presented the integral of a Gaussian from -3 to 3, where the
variance is varying from 0.1 to 10.
+
+\psset{algebraic=false}
+
\begin{LTXexample}
\psset{xunit=1cm,yunit=4cm}
\begin{pspicture}[linewidth=1pt](-5,-.2)(5,0.75)
@@ -1279,6 +1283,21 @@ variance is varying from 0.1 to 10.
In the second example, a convolution is performed using two rectangle functions.
The result (in red) is a \Index{trapezoid function}.
+
+\begin{LTXexample}
+\psset{xunit=0.5cm,yunit=4cm}
+\begin{pspicture}[linewidth=1pt](-11,-1.5)(11,1.5)
+ \psaxes[dx=1cm,Dx=2]{->}(0,0)(-10.5,-1.25)(10.5,1.25)
+ \psCumIntegral[plotpoints=2000,Simpson=10,algebraic]{-10}{10}{-sin(x/2)/2}
+ \psplot[plotpoints=2000,linestyle=dashed,linecolor=red,algebraic]{-10}{10}{cos(x/2)}
+ \rput(4,0.5){\textcolor{red}{$\displaystyle\cos\left(\frac{x}2\right)$}}
+ \rput*(0,-1.1){$\displaystyle\int\limits\frac{-\sin(\frac{x}2)}{2}\mathrm dx$}
+\end{pspicture}
+\end{LTXexample}
+
+
+
+
\clearpage
\section{Distributions}
All distributions which use the $\Gamma$- or $\ln\Gamma$-function need the \LPack{pst-math} package,
@@ -1335,6 +1354,8 @@ and is predefined with 5.
+
+
\clearpage