summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-10-19 22:39:49 +0000
committerKarl Berry <karl@freefriends.org>2013-10-19 22:39:49 +0000
commitb00dbe1b156b0ff987d12b1f1201d33929c34611 (patch)
tree5ca548b2d35077fc91d904a207f3f246be6668f5 /Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex
parent029e1cf653d4e4a38b8c8297283655ad807d7600 (diff)
pst-plot (19oct13)
git-svn-id: svn://tug.org/texlive/trunk@31950 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex56
1 files changed, 53 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex b/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex
index 0813126d93c..6a944db9eee 100644
--- a/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex
@@ -3,7 +3,9 @@
\listfiles
\usepackage[utf8]{inputenc}
-\usepackage{pst-node,pst-plot}
+\usepackage{pst-node,
+ pst-plot,pst-ode
+ }
%\usepackage{pstricks-gvb}
\SpecialCoor
\let\pstFV\fileversion
@@ -1059,6 +1061,7 @@ redefinition, then do it for \Lcs{pst@@@hlabel} and
\Lkeyword{xlabelOffset} & length & 0 & \pageref{labelOffset}\\
\Lkeyword{xlabelPos} & \Lkeyval{bottom},\Lkeyval{axis},\Lkeyval{top}
& \Lkeyval{bottom} & \pageref{labelpos}\\
+\Lkeyword{xLabelsRot} & angle & 0 & \pageref{xLabels}\\
\Lkeyword{xlogBase} & integer or empty & \{\} & \pageref{xlogbase}\\
\Lkeyword{xticklinestyle} & \Lkeyval{solid}|\Lkeyval{dashed}|\Lkeyval{dotted}|\Lkeyval{none}
& \Lkeyval{solid} & \pageref{ticklinestyle}\\
@@ -1085,6 +1088,7 @@ redefinition, then do it for \Lcs{pst@@@hlabel} and
\Lkeyword{ylabelOffset} & length & 0 & \pageref{labelOffset}\\
\Lkeyword{ylabelPos} & \Lkeyval{left}|\Lkeyval{axis}|\Lkeyval{right}
& \Lkeyval{left} & \pageref{labelpos}\\
+\Lkeyword{xLabelsRot} & angle & 0 & \pageref{xLabels}\\
\Lkeyword{ylogBase} & integer or empty & \{\} & \pageref{ylogbase}\\
\Lkeyword{yMaxValue} & real & 1.e30 & \pageref{yMaxValue}\\
\Lkeyword{yMinValue} & real & -1.e30 & \pageref{yMaxValue}\\
@@ -1106,9 +1110,9 @@ redefinition, then do it for \Lcs{pst@@@hlabel} and
%-------------------------------------------------------------------------------------------
\subsection{Option \nxLkeyword{xLabels}, \nxLkeyword{yLabels},
- \nxLkeyword{xLabelrot}, and \nxLkeyword{yLabelrot}}\label{xLabels}
+ \nxLkeyword{xLabelsrot}, and \nxLkeyword{yLabelsrot}}\label{xLabels}
%-------------------------------------------------------------------------------------------
-\xLkeyword{xLabels}\xLkeyword{yLabels}\xLkeyword{xLabelRot}\xLkeyword{yLabelRot}
+\xLkeyword{xLabels}\xLkeyword{yLabels}\xLkeyword{xLabelsRot}\xLkeyword{yLabelsRot}
\begin{LTXexample}[pos=b]
\psset{xunit=0.75}
\begin{pspicture}(-2,-2)(14,4)
@@ -3361,6 +3365,52 @@ big. In such a case decrease the number of steps.
\end{pspicture*}
\end{LTXexample}
+
+\clearpage
+\subsection{\nxLcs{psVectorfield}}
+\begin{BDef}
+ \Lcs{psVectorfield}\OptArgs\Largr{$x_0,y_0$}\Largr{$x_1,y_1$}\Largb{$f'(x,y)$}
+\end{BDef}
+
+$f'(x,y)$ can be in Postfix notation or with option \Lkeyword{algebraic} in
+Infix notation. The $\Delta x$ and $\Delta y$ are given by \Lkeyword{Dx} and
+\Lkeyword{Dy} and preset to 0.1, the length of the arrow lines is relative
+and internally set by \texttt{1/}\Lkeyword{Ox} with a preset of \texttt{Ox=3}.
+
+\medskip
+\begin{center}
+\includegraphics{\jobname}
+\end{center}
+
+\begin{lstlisting}
+ %\usepackage{pst-ode}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%solve dy/dx=x^2 + y^2 - 1 numerically for different initial values of y in the
+%interval x=[-1.1,1.1]; store resulting data points as tables into Postscript
+%objects
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\psset{unit=3cm}
+\begin{pspicture}(-1.2,-1.2)(1.1,1.1)
+\psaxes[ticksize=0 4pt,axesstyle=frame,tickstyle=inner,subticks=20,
+ Ox=-1,Oy=-1](-1,-1)(1,1)
+\psset{arrows=->,algebraic}
+\psVectorfield[linecolor=black!60](-0.9,-0.9)(0.9,0.9){ x^2+y^2-1 }
+%y0_a=-0.5
+\pstODEsolve[algebraicOutputFormat]{y0_a}{t | x[0]}{-1}{1}{100}{-0.5}{t^2+x[0]^2-1}
+%y0_b=0.0
+\pstODEsolve[algebraicOutputFormat]{y0_b}{t | x[0]}{-1}{1}{100}{0.0}{t^2+x[0]^2-1}
+%y0_c=0.5
+\pstODEsolve[algebraicOutputFormat]{y0_c}{t | x[0]}{-1}{1}{100}{0.5}{t^2+x[0]^2-1}
+\psset{arrows=-}%
+\listplot[linecolor=red, linewidth=1pt]{y0_a}
+\listplot[linecolor=green,linewidth=1pt]{y0_b}
+\listplot[linecolor=blue, linewidth=1pt]{y0_c}
+\end{pspicture}
+\end{lstlisting}
+
+
+
+
\clearpage
\section{List of all optional arguments for \texttt{pst-plot}}