From 02a4fc71679895429385a94acdbd1f9f37a23b13 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 2 Feb 2014 21:54:34 +0000 Subject: pst-func (2feb14) git-svn-id: svn://tug.org/texlive/trunk@32849 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/pst-func/Changes | 2 ++ Master/texmf-dist/doc/generic/pst-func/README | 3 +- .../doc/generic/pst-func/pst-func-doc.pdf | Bin 3356988 -> 3369725 bytes .../doc/generic/pst-func/pst-func-doc.tex | 34 ++++++++++++++++++++- 4 files changed, 37 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/doc/generic/pst-func') diff --git a/Master/texmf-dist/doc/generic/pst-func/Changes b/Master/texmf-dist/doc/generic/pst-func/Changes index a66479753f4..14637921791 100644 --- a/Master/texmf-dist/doc/generic/pst-func/Changes +++ b/Master/texmf-dist/doc/generic/pst-func/Changes @@ -1,4 +1,5 @@ ..... pst-func.tex +0.77 2014-02-01 - added \psWeierstrass 0.76 2012-01-13 - modifications to \psImpPlot 0.75 2012-01-01 - moved \psPrintValue into pst-tools 0.74 2011-11-02 - make \psLorenz work in a correct way @@ -90,6 +91,7 @@ ..... pst-func.pro +0.15 2013-06-10 - fix bug with wrong arrow in psBezier# 0.14 2013-06-03 - fix bug with arrow in psBezier# 0.13 2010-06-21 - run FindZeros in a local dictionary - return [zeros] on stack diff --git a/Master/texmf-dist/doc/generic/pst-func/README b/Master/texmf-dist/doc/generic/pst-func/README index 5c3df64feeb..11083f2897c 100644 --- a/Master/texmf-dist/doc/generic/pst-func/README +++ b/Master/texmf-dist/doc/generic/pst-func/README @@ -22,6 +22,7 @@ pst-func: plotting special mathematical functions: -- psWeibull for Weibull distribution -- psLame (Lam\`e\ Curve -- a superellipse) -- psThomae (popcorn function) +-- psWeierstrass -- psplotImp (plotting implicit defined functions) -- psVolume (rotating f(x) around the x-axis) -- psPrintValue @@ -42,4 +43,4 @@ CTAN server, http://mirror.ctan.org PSTricks is PostScript Tricks, the documentation cannot be run with pdftex, use the sequence latex->dvips->ps2pdf. -%% $Id: README 286 2010-02-11 09:40:41Z herbert $ +%% $Id: README 885 2014-02-01 17:13:34Z herbert $ diff --git a/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf b/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf index 3d5db3c7289..11513d64057 100644 Binary files a/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf and b/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf differ 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) -- cgit v1.2.3