From e29414766d9839222ab5ea36f953729a00a373c5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 16 Jan 2014 00:10:42 +0000 Subject: pst-plot (15jan14) git-svn-id: svn://tug.org/texlive/trunk@32683 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/pst-plot/Changes | 2 ++ .../doc/generic/pst-plot/pst-plot-doc.pdf | Bin 1225123 -> 1230422 bytes .../doc/generic/pst-plot/pst-plot-doc.tex | 31 +++++++++++++++++++-- 3 files changed, 30 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/doc/generic/pst-plot') diff --git a/Master/texmf-dist/doc/generic/pst-plot/Changes b/Master/texmf-dist/doc/generic/pst-plot/Changes index 5ccad5322fa..3ca04564b3f 100644 --- a/Master/texmf-dist/doc/generic/pst-plot/Changes +++ b/Master/texmf-dist/doc/generic/pst-plot/Changes @@ -1,4 +1,6 @@ ----- pst-plot.tex +1.58 2014-01-15 - save last coordinates as /FinalState instead of + /SaveFinalState. Also for parametric plot 1.57 2013-12-01 - take Dx and Dy into account for special labels 1.56 2013-11-22 - deleted option quadrant and take coordinates into account for polar axes (x,phi) diff --git a/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf b/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf index 8a5b010c9e8..9acd6512513 100644 Binary files a/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf and b/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf differ 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 a78c58456fa..5325c305ed4 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,8 +3,9 @@ \listfiles \usepackage[utf8]{inputenc} -\usepackage{pst-node, - pst-plot,pst-ode +\usepackage{pst-ode, + pst-node, + pst-plot } %\usepackage{pstricks-gvb} \SpecialCoor @@ -754,7 +755,7 @@ which is LowerLeft, UpperLeft, LowerRight, and UpperRight. The values have no di %------------------------------------------------------------------------------------------- \begin{center} -\begin{tabular}{@{} l>{\tt}ll @{}} +\begin{tabular}{@{} l>{\ttfamily}ll @{}} \textrm{name} & \textrm{default} & meaning\\\hline \Lkeyword{xAxisLabel} & x & label for the x-axis\\ \Lkeyword{yAxisLabel} & y & label for the y-axis\\ @@ -3466,6 +3467,30 @@ and internally set by \texttt{1/}\Lkeyword{Ox} with a preset of \texttt{Ox=3}. \end{lstlisting} +\section{Internals} +The last pair of coordinates of \Lcs{psplot} and \Lcs{psparametricplot} +is saved in a PostScript array and can be used as \verb|FinalState| +inside PostScript code. + +\medskip +\begin{LTXexample}[pos=t] +\psset{unit=2} +\begin{pspicture}(0,-1)(3,0.5) + \pscustom[linejoin=1,arrows=->]{% + \psline(0,-1)(1,0) + \psplot[algebraic,plotpoints=100]{1}{2.25}{.25*sin(2*Pi*x/.25)} + \psline(3,0) + } +% + \pscustom[linejoin=1,arrows=->,linecolor=red]{% + \psline(0,-1)(1,0) + \psplot[algebraic,plotpoints=100]{1}{2.25}{.25*sin(2*Pi*x/.25)} + \psline(! FinalState aload pop )(3,0) + } +\end{pspicture} +\end{LTXexample} + + \clearpage -- cgit v1.2.3