summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-10-22 00:37:36 +0000
committerKarl Berry <karl@freefriends.org>2007-10-22 00:37:36 +0000
commitbb5fa8d3a61725395fb2e078e52f4ede24b33ae9 (patch)
tree6f7df862c9d0134b5fa82a971c31644e74ee67c3 /Master/texmf-dist/doc/generic
parentf6d12e1de2869816f6fb6bb59f3266544bee5588 (diff)
pstricks-add update (21oct07)
git-svn-id: svn://tug.org/texlive/trunk@5253 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/Changes14
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdfbin1807427 -> 1817939 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex85
3 files changed, 46 insertions, 53 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/Changes b/Master/texmf-dist/doc/generic/pstricks-add/Changes
index 222c084aa82..2d1ed734b2d 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/Changes
+++ b/Master/texmf-dist/doc/generic/pstricks-add/Changes
@@ -1,8 +1,3 @@
-pstricks-add.sty ----------- (hv)
- v. 0.11 2007-09-04 add a message for loading the prologue file pstrick-add.pro
-
-
-
pstricks-add.pro ----------- (Dominik Rodriguez/hv)
v 0.14 2007-09-17 - moved Pyth2 into tx@Add part
v 0.13 2007-09-12 - temporarely version for \psbrace, code
@@ -28,11 +23,18 @@ pstricks-add.pro ----------- (Dominik Rodriguez/hv)
v 2004.01 2004/09/14 (dr) initial version
+pstricks-add.sty ----------- (hv)
+ v. 0.11 2007-09-04 add a message for loading the prolouge file pstrick-add.pro
+
+
pstricks-add.tex ----------- (Dominik Rodriguez/hv)
+ v 2.91 2007-10-20 - add the step types supremum/infimum for showing the
+ integral of a function
+ - add \chardef\f@ur=4
v 2.90 2007-09-25 - add \DefPSPNodes to defines 9 nodes depending to the
pspciture environment.
- - fix bug in psHomothetie for special coor
+ - fix bug in psHomothetie and pstRotate for special coor
v 2.89 2007-09-12 - temporarely version for \psbrace, code
will later go into pstricks.tex
v 2.88 2007-09-03 - add \psHomothetie for mirroring any object
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
index 6117ea79831..beeda452e89 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
index 3cf252acc0b..862ce41c362 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
+++ b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
@@ -4732,7 +4732,8 @@ the linewidth od the document.
\verb+\psStep+ caclulates a step function for the upper or lower sum or the max/min
of the Riemann integral definition of a given function. The available option is
-\verb+StepType=lower|upper|Riemann+
+\verb+StepType=lower|upper|Riemann|infimum|supremum+ or alternative
+\verb+StepType=l|u|R|i|s+
with \verb+lower+ as the default setting. The syntax of the function is
@@ -4743,76 +4744,66 @@ with \verb+lower+ as the default setting. The syntax of the function is
n is the number of the rectangles and \verb+function+ is the mathematical function
in postfix or algebraic notation (with \verb+algebraic=true+).
-\begin{center}
-\bgroup
-\begin{pspicture}(-0.5,-0.5)(10,3) \psaxes{->}(10,3)
- \psplot[plotpoints=100,linewidth=1.5pt,algebraic,%
- labelFontSize=\footnotesize]{0}{10}{sqrt(x)}
+\begin{LTXexample}[pos=t,preset=\centering]
+\begin{pspicture}(-0.5,-0.5)(10,3)
+ \psaxes[labelFontSize=\footnotesize]{->}(10,3)
+ \psplot[plotpoints=100,linewidth=1.5pt,algebraic]{0}{10}{sqrt(x)}
\psStep[linecolor=magenta,StepType=upper,fillstyle=hlines](0,9){9}{x sqrt}
\psStep[linecolor=blue,fillstyle=vlines](0,9){9}{x sqrt }
\end{pspicture}
+\end{LTXexample}
+\begin{LTXexample}[pos=t,preset=\centering]
\psset{plotpoints=200}
-\begin{pspicture}(-0.5,-2.25)(10,3) \psaxes{->}(0,0)(0,-2.25)(10,3)
- \psplot[linewidth=1.5pt,algebraic,labelFontSize=\footnotesize]{0}{10}{sqrt(x)*sin(x)}
+\begin{pspicture}(-0.5,-2.25)(10,3)
+ \psaxes[labelFontSize=\footnotesize]{->}(0,0)(0,-2.25)(10,3)
+ \psplot[linewidth=1.5pt,algebraic]{0}{10}{sqrt(x)*sin(x)}
\psStep[algebraic,linecolor=magenta,StepType=upper](0,9){20}{sqrt(x)*sin(x)}
\psStep[linecolor=blue,linestyle=dashed](0,9){20}{x sqrt x RadtoDeg sin mul}
\end{pspicture}
+\end{LTXexample}
-\psset{yunit=1.25cm}
-\begin{pspicture}(-0.5,-1.5)(10,1.5) \psaxes{->}(0,0)(0,-1.5)(10,1.5)
+\begin{LTXexample}[pos=t,preset=\centering]
+\psset{yunit=1.25cm,plotpoints=200}
+\begin{pspicture}(-0.5,-1.5)(10,1.5)
+ \psaxes[labelFontSize=\footnotesize]{->}(0,0)(0,-1.5)(10,1.5)
\psStep[algebraic,StepType=Riemann,fillstyle=solid,fillcolor=black!10](0,10){50}%
{sqrt(x)*cos(x)*sin(x)}
- \psplot[linewidth=1.5pt,algebraic,labelFontSize=\footnotesize]%
- {0}{10}{sqrt(x)*cos(x)*sin(x)}
-\end{pspicture}
-
-\psset{unit=1.5cm}
-\begin{pspicture}[plotpoints=200](-0.5,-3)(10,2.5)
- \psStep[algebraic,fillstyle=solid,fillcolor=yellow](0.001,9.5){40}{2*sqrt(x)*cos(ln(x))*sin(x)}
- \psStep[algebraic,StepType=Riemann,fillstyle=solid,fillcolor=blue](0.001,9.5){40}{2*sqrt(x)*cos(ln(x))*sin(x)}
- \psaxes{->}(0,0)(0,-2.75)(10,2.5)
- \psplot[algebraic,linecolor=white,labelFontSize=\footnotesize]%
- {0.001}{9.75}{2*sqrt(x)*cos(ln(x))*sin(x)}
- \uput[90](6,1.2){$f(x)=2\cdot\sqrt{x}\cdot\cos{(\ln{x})}\cdot\sin{x}$}
+ \psplot[linewidth=1.5pt,algebraic]{0}{10}{sqrt(x)*cos(x)*sin(x)}
\end{pspicture}
-\egroup
-\end{center}
-
+\end{LTXexample}
-\begin{lstlisting}
-\begin{pspicture}(-0.5,-0.5)(10,3) \psaxes{->}(10,3)
- \psplot[plotpoints=100,linewidth=1.5pt,algebraic,%
- labelFontSize=\footnotesize]{0}{10}{sqrt(x)}
- \psStep[linecolor=magenta,§\ON§StepType=upper§\OFF§,fillstyle=hlines](0,9){9}{x sqrt}
- \psStep[linecolor=blue,fillstyle=vlines](0,9){9}{x sqrt }
-\end{pspicture}
-\psset{plotpoints=200}
-\begin{pspicture}(-0.5,-2.25)(10,3) \psaxes{->}(0,0)(0,-2.25)(10,3)
- \psplot[linewidth=1.5pt,algebraic,labelFontSize=\footnotesize]{0}{10}{sqrt(x)*sin(x)}
- \psStep[algebraic,linecolor=magenta,StepType=upper](0,9){20}{sqrt(x)*sin(x)}
- \psStep[linecolor=blue,linestyle=dashed](0,9){20}{x sqrt x RadtoDeg sin mul}
+\begin{LTXexample}[pos=t,preset=\centering]
+\psset{yunit=1.25cm,plotpoints=200}
+\begin{pspicture}(-0.5,-1.5)(10,1.5)
+ \psaxes[labelFontSize=\footnotesize]{->}(0,0)(0,-1.5)(10,1.5)
+ \psStep[algebraic,StepType=infimum,fillstyle=solid,fillcolor=black!10](0,10){50}%
+ {sqrt(x)*cos(x)*sin(x)}
+ \psplot[linewidth=1.5pt,algebraic]{0}{10}{sqrt(x)*cos(x)*sin(x)}
\end{pspicture}
+\end{LTXexample}
-\psset{yunit=1.25cm}
-\begin{pspicture}(-0.5,-1.5)(10,1.5) \psaxes{->}(0,0)(0,-1.5)(10,1.5)
- \psStep[§\ON§algebraic§\OFF§,§\ON§StepType=Riemann§\OFF§,fillstyle=solid,fillcolor=black!10](0,10){50}%
+\begin{LTXexample}[pos=t,preset=\centering]
+\psset{yunit=1.25cm,plotpoints=200}
+\begin{pspicture}(-0.5,-1.5)(10,1.5)
+ \psaxes[labelFontSize=\footnotesize]{->}(0,0)(0,-1.5)(10,1.5)
+ \psStep[algebraic,StepType=supremum,fillstyle=solid,fillcolor=black!10](0,10){50}%
{sqrt(x)*cos(x)*sin(x)}
- \psplot[linewidth=1.5pt,algebraic,labelFontSize=\footnotesize]%
- {0}{10}{sqrt(x)*cos(x)*sin(x)}
+ \psplot[linewidth=1.5pt,algebraic]{0}{10}{sqrt(x)*cos(x)*sin(x)}
\end{pspicture}
+\end{LTXexample}
-\psset{unit=1.5cm}
+\begin{LTXexample}[pos=t,preset=\centering]
+\psset{unit=1.5cm,plotpoints=200}
\begin{pspicture}[plotpoints=200](-0.5,-3)(10,2.5)
\psStep[algebraic,fillstyle=solid,fillcolor=yellow](0.001,9.5){40}{2*sqrt(x)*cos(ln(x))*sin(x)}
\psStep[algebraic,StepType=Riemann,fillstyle=solid,fillcolor=blue](0.001,9.5){40}{2*sqrt(x)*cos(ln(x))*sin(x)}
- \psaxes{->}(0,0)(0,-2.75)(10,2.5)
- \psplot[algebraic,linecolor=white,labelFontSize=\footnotesize]%
- {0.001}{9.75}{2*sqrt(x)*cos(ln(x))*sin(x)}
+ \psaxes[labelFontSize=\footnotesize]{->}(0,0)(0,-2.75)(10,2.5)
+ \psplot[algebraic,linecolor=white]{0.001}{9.75}{2*sqrt(x)*cos(ln(x))*sin(x)}
\uput[90](6,1.2){$f(x)=2\cdot\sqrt{x}\cdot\cos{(\ln{x})}\cdot\sin{x}$}
\end{pspicture}
-\end{lstlisting}
+\end{LTXexample}
%--------------------------------------------------------------------------------------