diff options
author | Karl Berry <karl@freefriends.org> | 2007-07-16 16:52:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-07-16 16:52:01 +0000 |
commit | 8704eddd45c69d9cca614273c6e2d6829ef3f669 (patch) | |
tree | 8c726712f42d78e93de65e77defd26f28d668818 /Master/texmf-dist/doc | |
parent | b4195e08ebb104533785f8dd305b7f23e4a51719 (diff) |
pst-func 0.49 (25jun07
git-svn-id: svn://tug.org/texlive/trunk@4629 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-func/Changes | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-func/README | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf | bin | 2177985 -> 2207705 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-func/pst-func-doc.tex | 129 |
4 files changed, 130 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-func/Changes b/Master/texmf-dist/doc/generic/pst-func/Changes index 15482a342be..d6e6663678e 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.49 2007-07-23 - add psVolume, rotating a function around the x-axis 0.48 2007-03-17 - add another distribution function: psPoisson 0.47 2007-02-01 - add support of arrows for psPolynomial 0.46 2006-09-06 - using the bool key from xkeyval diff --git a/Master/texmf-dist/doc/generic/pst-func/README b/Master/texmf-dist/doc/generic/pst-func/README index 0989cb41c24..eb7f599e47c 100644 --- a/Master/texmf-dist/doc/generic/pst-func/README +++ b/Master/texmf-dist/doc/generic/pst-func/README @@ -14,6 +14,7 @@ pst-func: plotting special mathematical functions: -- psBinomialN -- psLame (Lam\`e\ Curve -- a superellipse) -- psplotImp (plotting implicit defined functions) +-- psVolume (rotating f(x) around the x-axis) -- psPrintValue 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 Binary files differindex eae559b4ce2..e4a9995332f 100644 --- a/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf +++ b/Master/texmf-dist/doc/generic/pst-func/pst-func-doc.pdf 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 92255041f8e..a1be51a8928 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,7 +1,8 @@ \documentclass[a4paper,11pt]{article} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} -\usepackage{pamathx} +%\usepackage{pamathx} +\usepackage{mathpazo} \usepackage{url} \usepackage{amsmath} \usepackage{tabularx} @@ -893,6 +894,131 @@ for polar plots are also possible (see next example). \end{pspicture*} \end{LTXexample} + + +\clearpage +\section{\CMD{psVolume} -- Rotating functions around the x-axis} + +This macro shows the behaviour of a rotated function around the x-axis. + +\begin{verbatim} +\psVolume[<options>](xMin,xMax){<steps>}{<function f(x)>} +\end{verbatim} + +$f(x)$ has to be described as usual for the macro psplot. + +\makebox[\linewidth]{% +\begin{pspicture}(-0.5,-2)(5,2.5) +\psaxes{->}(0,0)(0,-2)(3,2.5) +\psVolume[fillstyle=solid,fillcolor=magenta!30](0,4){1}{x sqrt} +\psline{->}(4,0)(5,0) +\end{pspicture} +% +\begin{pspicture}(-0.5,-2)(5,2.5) +\psaxes{->}(0,0)(0,-2)(3,2.5) +\psVolume[fillstyle=solid,fillcolor=red!40](0,4){2}{x sqrt} +\psline{->}(4,0)(5,0) +\end{pspicture} +% +\begin{pspicture}(-0.5,-2)(5,2.5) +\psaxes{->}(0,0)(0,-2)(3,2.5) +\psVolume[fillstyle=solid,fillcolor=blue!40](0,4){4}{x sqrt} +\psline{->}(4,0)(5,0) +\end{pspicture} +} + +\makebox[\linewidth]{% +\begin{pspicture}(-0.5,-2)(5,2.5) +\psaxes{->}(0,0)(0,-2)(3,2.5) +\psVolume[fillstyle=solid,fillcolor=green!40](0,4){8}{x sqrt} +\psline{->}(4,0)(5,0) +\end{pspicture} +% +\begin{pspicture}(-0.5,-2)(5,2.5) +\psaxes{->}(0,0)(0,-2)(3,2.5) +\psVolume[fillstyle=solid,fillcolor=yellow!40](0,4){16}{x sqrt} +\psline{->}(4,0)(5,0) +\end{pspicture} +% +\begin{pspicture}(-0.5,-2)(5,2.5) +\psaxes{->}(0,0)(0,-2)(3,2.5) +\psVolume[fillstyle=solid,fillcolor=cyan!40](0,4){32}{x sqrt} +\psline{->}(4,0)(5,0) +\end{pspicture} +} + +\begin{lstlisting} +\begin{pspicture}(-0.5,-2)(5,2.5) +\psaxes{->}(0,0)(0,-2)(3,2.5) +\psVolume[fillstyle=solid,fillcolor=magenta!30](0,4){1}{x sqrt} +\psline{->}(4,0)(5,0) +\end{pspicture} +% +\begin{pspicture}(-0.5,-2)(5,2.5) +\psaxes{->}(0,0)(0,-2)(3,2.5) +\psVolume[fillstyle=solid,fillcolor=red!40](0,4){2}{x sqrt} +\psline{->}(4,0)(5,0) +\end{pspicture} +% +\begin{pspicture}(-0.5,-2)(5,2.5) +\psaxes{->}(0,0)(0,-2)(3,2.5) +\psVolume[fillstyle=solid,fillcolor=blue!40](0,4){4}{x sqrt} +\psline{->}(4,0)(5,0) +\end{pspicture} + +\begin{pspicture}(-0.5,-2)(5,2.5) +\psaxes{->}(0,0)(0,-2)(3,2.5) +\psVolume[fillstyle=solid,fillcolor=green!40](0,4){8}{x sqrt} +\psline{->}(4,0)(5,0) +\end{pspicture} +% +\begin{pspicture}(-0.5,-2)(5,2.5) +\psaxes{->}(0,0)(0,-2)(3,2.5) +\psVolume[fillstyle=solid,fillcolor=yellow!40](0,4){16}{x sqrt} +\psline{->}(4,0)(5,0) +\end{pspicture} +% +\begin{pspicture}(-0.5,-2)(5,2.5) +\psaxes{->}(0,0)(0,-2)(3,2.5) +\psVolume[fillstyle=solid,fillcolor=cyan!40](0,4){32}{x sqrt} +\psline{->}(4,0)(5,0) +\end{pspicture} +\end{lstlisting} + + +\psset{xunit=2} +\makebox[\linewidth]{% +\begin{pspicture}(-0.5,-4)(3,4) + \psaxes{->}(0,0)(0,-4)(3,4) + \psVolume[fillstyle=solid,fillcolor=cyan!40](0,1){4}{x} + \psVolume[fillstyle=solid,fillcolor=yellow!40](1,2){4}{x dup mul} + \psline(2,0)(3,0) +\end{pspicture} +% +\begin{pspicture}(-0.5,-4)(3,4) + \psaxes{->}(0,0)(0,-4)(3,4) + \psVolume[fillstyle=solid,fillcolor=cyan!40](0,1){20}{x} + \psVolume[fillstyle=solid,fillcolor=yellow!40](1,2){20}{x dup mul} + \psline(2,0)(3,0) +\end{pspicture} +} +\begin{lstlisting} +\psset{xunit=2} +\begin{pspicture}(-0.5,-4)(3,4) + \psaxes{->}(0,0)(0,-4)(3,4) + \psVolume[fillstyle=solid,fillcolor=cyan!40](0,1){4}{x} + \psVolume[fillstyle=solid,fillcolor=yellow!40](1,2){4}{x dup mul} + \psline(2,0)(3,0) +\end{pspicture} +% +\begin{pspicture}(-0.5,-4)(3,4) + \psaxes{->}(0,0)(0,-4)(3,4) + \psVolume[fillstyle=solid,fillcolor=cyan!40](0,1){20}{x} + \psVolume[fillstyle=solid,fillcolor=yellow!40](1,2){20}{x dup mul} + \psline(2,0)(3,0) +\end{pspicture} +\end{lstlisting} + \clearpage \section{\CMD{psPrintValue}}\label{sec:printValue} @@ -946,6 +1072,7 @@ valuewidth & <number> & 10 & the width of the string for the converted + \section{Credits} Denis Girou | Manuel Luque | Timothy Van Zandt |