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 | 31 |
1 files changed, 26 insertions, 5 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 2aec2a646d3..e582a82e4ea 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 884 2014-02-01 17:09:26Z herbert $ +%% $Id: pst-func-doc.tex 890 2014-02-02 15:47:16Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false, smallheadings, headexclude,footexclude,oneside]{pst-doc} \usepackage[utf8]{inputenc} @@ -1627,17 +1627,38 @@ everywhere but differentiable nowhere. % \begin{BDef} -\Lcs{psWeierstrass}\OptArgs\Largr{$x_0,x_1$}\Largb{a} +\Lcs{psWeierstrass}\OptArgs\Largr{$x_0,x_1$}\OptArg*{\Largs{a}}\Largb{a/b} \end{BDef} +Without the optional argument the mandatory one is $a$, otherwise it is $b$ and +the optional one $a$. Without setting the optional argument \Lkeyword{epsilon} the value +of 1.e-8 will be used. + + \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, +\psaxes[Dx=0.2,Dy=0.1,ticksize=-2pt 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} +\psWeierstrass[linecolor=green,epsilon=1.e-15](0,2){3} +\psWeierstrass[linecolor=blue,epsilon=1.e-5](0,2){4} +\end{pspicture} +\end{LTXexample} + + +The original Weierstraß function can be used with the optional argument: +\[ f(x)= \sum_{n=0}^\infty a^n \cos(b^n \pi x) \] + + + +\begin{LTXexample}[width=6.5cm,wide=false] +\psset{unit=2cm,linewidth=0.5pt,plotpoints=5000} +\begin{pspicture}(-2.1,-2.1)(2.1,2.1) +\psaxes[Dx=0.5,Dy=0.5,ticksize=-2pt 0, + labelFontSize=\scriptstyle]{->}(0,0)(-2,-2)(2,2) +\psWeierstrass[linecolor=red](-2,2)[0.5]{3} +\psWeierstrass[linecolor=blue!70](-2,2)[0.5]{10} \end{pspicture} \end{LTXexample} |