diff options
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.tex | 34 |
1 files changed, 33 insertions, 1 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 87fd1e143dd..2aec2a646d3 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,4 +1,4 @@ -%% $Id: pst-func-doc.tex 769 2013-04-18 08:53:32Z herbert $ +%% $Id: pst-func-doc.tex 884 2014-02-01 17:09:26Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false, smallheadings, headexclude,footexclude,oneside]{pst-doc} \usepackage[utf8]{inputenc} @@ -1612,6 +1612,38 @@ The plotted number of points is the third parameter. \end{pspicture} \end{LTXexample} + +\clearpage +\section{\nxLcs{psWeierstrass} -- a pathological function} + +The Weierstrass function is an example of a pathological real-valued function +on the real line. The function has the property that it is continuous +everywhere but differentiable nowhere. +% +\[ + f_a(x)=\sum\limits_{k=1}^\infty\frac{\sin(\pi k^ax)}{\pi k^a} +\] +%f(p/q)=pi/(4q^2)sum_(k=1)^(q-1)(sin((k^2ppi)/q))/(sin^2((kpi)/(2q))) +% + +\begin{BDef} +\Lcs{psWeierstrass}\OptArgs\Largr{$x_0,x_1$}\Largb{a} +\end{BDef} + +\begin{LTXexample}[width=6.5cm,wide=false] +\psset{yunit=10,xunit=5} +\begin{pspicture}(-0.1,-0.5)(2.1,0.5) +\psaxes[Dx=0.2,Dy=0.1,ticksize=-4pt 0, + labelFontSize=\scriptstyle]{->}(0,0)(0,-0.5)(2.1,0.5) +\psWeierstrass[linecolor=red](0,2){2} +\psWeierstrass[linecolor=green](0,2){3} +\psWeierstrass[linecolor=blue](0,2){4} +\end{pspicture} +\end{LTXexample} + + + + \clearpage \section{\nxLcs{psplotImp} -- plotting implicit defined functions} For a given area, the macro calculates in a first step row by row for every pixel (1pt) |