summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex37
1 files changed, 22 insertions, 15 deletions
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 3ce19617c0c..54e44880d68 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
@@ -71,7 +71,7 @@
\begin{document}
\title{\texttt{pstricks-add}\\additionals Macros for \texttt{pstricks}\\
\small v.\pstricksaddFV}
-%\docauthor{Herbert Vo\ss}
+\docauthor{Herbert Voß}
\author{Dominique Rodriguez\\Michael Sharpe\\Herbert Voß}
\date{\today}
@@ -1080,6 +1080,8 @@ allows to plot a file of the 3D-data of a mathematical function $z=f(x,y)$ and t
\url{http://tug.org/pstricks/pst-plot/3D/PrepareData.pl} prepares the data file
into the above structure for using it with the example file.
+
+
\begin{LTXexample}[pos=t]
\psset{unit=1.75cm}
\begin{pspicture}[showgrid](-3,-3)(3,3)
@@ -1087,6 +1089,11 @@ into the above structure for using it with the example file.
\end{pspicture}
\end{LTXexample}
+
+
+
+
+
\emph{Important} is the option \verb|-dNOSAFER| for the \texttt{ps2pdf} run, otherwise Ghostscript
didn't allow the run of external data files. Important optional arguments are
\Lkeyword{colored}, \Lkeyword{colorOffset}, and \Lkeyword{colSteps}.
@@ -1951,7 +1958,7 @@ in difference to the other three macros which takes a negative area into account
\begin{pspicture}(-0.5,-2.25)(10,3)
\psaxes[labelFontSize=\scriptstyle]{->}(0,0)(0,-2.25)(10,3)%
\psplot[linewidth=1.5pt,algebraic]{0}{10}{sqrt(x)*sin(x)}%
-\psset{linewidth=0.1pt}%
+\psset{linewidth=0.5pt}%
\psRiemannSum(0,9){18}{sqrt(#1)*sin(#1)}
\psStep[algebraic,linecolor=magenta,StepType=upper,saveSumValue](0,9){18}{sqrt(x)*sin(x)}%
\rput[l](0.2,2.5){\textcolor{magenta}{Uppersum: \psRightSumValue}}%
@@ -1965,7 +1972,7 @@ in difference to the other three macros which takes a negative area into account
\begin{pspicture}(-0.5,-2.25)(10,3)
\psaxes[labelFontSize=\scriptstyle]{->}(0,0)(0,-2.25)(10,3)%
\psplot[linewidth=1.5pt,algebraic]{0}{10}{sqrt(x)*sin(x)}%
-\psset{linewidth=0.1pt}%
+\psset{linewidth=0.5pt}%
\psRiemannSum(0,9){18}
\psStep[algebraic,linecolor=magenta,StepType=upper,saveSumValue](0,9){18}{sqrt(x)*sin(x)}%
\rput[l](0.2,2.5){\textcolor{magenta}{Uppersum: \psRightSumValue}}%
@@ -2423,7 +2430,7 @@ Impossible to draw, but let's try!
\begin{center}
\bgroup
-\psset{xunit=64,algebraic,VarStep,linecolor=red,showpoints=true,linewidth=1pt}
+\psset{xunit=64,algebraic,VarStep,linecolor=red,showpoints=true,linewidth=1pt,dotscale=0.5}
\begin{pspicture}[showgrid=true](0,-1)(.5,1)
\psplot[VarStepEpsilon=.0001]{.01}{.25}{sin(1/x)}
\end{pspicture}\\
@@ -2440,7 +2447,7 @@ Impossible to draw, but let's try!
\end{center}
\begin{lstlisting}
-\psset{xunit=64,algebraic,VarStep,linecolor=red,showpoints=true,linewidth=1pt}
+\psset{xunit=64,algebraic,VarStep,linecolor=red,showpoints=true,linewidth=1pt,dotscale=0.5}
\begin{pspicture}[showgrid=true](0,-1)(.5,1)
\psplot[VarStepEpsilon=.0001]{.01}{.25}{sin(1/x)}
\end{pspicture}\\
@@ -3930,33 +3937,33 @@ is the first plotted line ($y=1$). With the option
\psscalebox{0.6}{%
\begin{pspicture}(-0.5,-0.75)(11,11)
\psaxes{->}(11,11)
- \psMatrixPlot[dotsize=1.1cm,dotstyle=square*,linecolor=magenta]%
+ \psMatrixPlot[dotsize=0.7cm,dotstyle=square*,linecolor=magenta]%
{10}{10}{data/matrix.data}
- \psMatrixPlot[dotsize=.5cm,dotstyle=o,ChangeOrder]{10}{10}{data/matrix.data}
+ \psMatrixPlot[dotsize=.4cm,dotstyle=o,ChangeOrder]{10}{10}{data/matrix.data}
\end{pspicture}}\quad
\psscalebox{0.6}{%
\begin{pspicture}(-0.5,-0.75)(11,11)
\psaxes[ticksize=-5pt 0]{->}(11,11)
- \psMatrixPlot[dotsize=1.1cm,dotstyle=square*,linecolor=magenta,XYoffset=-0.5]%
+ \psMatrixPlot[dotsize=0.7cm,dotstyle=square*,linecolor=magenta,XYoffset=-0.5]%
{10}{10}{data/matrix.data}
- \psMatrixPlot[dotsize=.5cm,dotstyle=o,ChangeOrder,XYoffset=-0.5]{10}{10}{data/matrix.data}
+ \psMatrixPlot[dotsize=.4cm,dotstyle=o,ChangeOrder,XYoffset=-0.5]{10}{10}{data/matrix.data}
\end{pspicture}}
\end{center}
\begin{lstlisting}
\psscalebox{0.6}{%
\begin{pspicture}(-0.5,-0.75)(11,11)
- \psaxes[ticksize=-5pt 0]{->}(11,11)
- \psMatrixPlot[dotsize=1.1cm,dotstyle=square*,linecolor=magenta]%
+ \psaxes{->}(11,11)
+ \psMatrixPlot[dotsize=0.7cm,dotstyle=square*,linecolor=magenta]%
{10}{10}{data/matrix.data}
- \psMatrixPlot[dotsize=.5cm,dotstyle=o,ChangeOrder]{10}{10}{data/matrix.data}
+ \psMatrixPlot[dotsize=.4cm,dotstyle=o,ChangeOrder]{10}{10}{data/matrix.data}
\end{pspicture}}\quad
\psscalebox{0.6}{%
\begin{pspicture}(-0.5,-0.75)(11,11)
- \psaxes{->}(11,11)
- \psMatrixPlot[dotsize=1.1cm,dotstyle=square*,linecolor=magenta,XYoffset=-0.5]%
+ \psaxes[ticksize=-5pt 0]{->}(11,11)
+ \psMatrixPlot[dotsize=0.7cm,dotstyle=square*,linecolor=magenta,XYoffset=-0.5]%
{10}{10}{data/matrix.data}
- \psMatrixPlot[dotsize=.5cm,dotstyle=o,ChangeOrder,XYoffset=-0.5]{10}{10}{data/matrix.data}
+ \psMatrixPlot[dotsize=.4cm,dotstyle=o,ChangeOrder,XYoffset=-0.5]{10}{10}{data/matrix.data}
\end{pspicture}}
\end{lstlisting}