summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-10 22:50:58 +0000
committerKarl Berry <karl@freefriends.org>2010-09-10 22:50:58 +0000
commit43a4208ce0d47c2489ce43fc3ae350b06d4c8a8c (patch)
tree600513ae6dd7b74bc078199a062d6ddbb1934df6
parenta33e041172c8aa5efdf38a8cc2da8aafb6367a41 (diff)
pst-plot 1.20 (10sep10)
git-svn-id: svn://tug.org/texlive/trunk@19643 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/generic/pst-plot/Changes6
-rw-r--r--Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex22
2 files changed, 18 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-plot/Changes b/Master/texmf-dist/doc/generic/pst-plot/Changes
index b0acd0c8652..669fddeff78 100644
--- a/Master/texmf-dist/doc/generic/pst-plot/Changes
+++ b/Master/texmf-dist/doc/generic/pst-plot/Changes
@@ -1,6 +1,8 @@
----- pst-plot.tex
-1.19 2010-08-17 - \def\psk@method{}
- to fix a problem with \psplot
+1.20 2010-09-09 - new optional arguments for setting a variable
+ linewidth and variable color for plotstyle curve
+1.19 2010-08-17 - moved option method from pstricks-add into this
+ package to fix a problem with \psplot
1.18 2010-08-15 - added plotstyle ybar
- added optional arguments xLabels, yLabels,
xLabelsRot, and yLabelsRot
diff --git a/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex b/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex
index b400ec043cc..4f5bb65007e 100644
--- a/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex
+++ b/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex
@@ -1,4 +1,4 @@
-% $Id: pst-plot.tex 371 2010-08-17 09:28:58Z herbert $
+% $Id: pst-plot.tex 372 2010-08-17 09:46:20Z herbert $
%% BEGIN pst-plot.tex
%%
%% plotting functions and data with PSTricks.
@@ -20,8 +20,8 @@
\ifx\PSTFPloaded\endinput\else \input pst-fp.tex \fi
\ifx\MultidoLoaded\endinput\else \input multido.tex \fi
%
-\def\fileversion{1.19}
-\def\filedate{2010/08/17}
+\def\fileversion{1.20}
+\def\filedate{2010/09/09}
\message{ v\fileversion, \filedate\space (tvz,hv)}
%
\edef\TheAtCode{\the\catcode`\@}
@@ -30,7 +30,6 @@
\pst@addfams{pst-plot}
%
\def\pst@linetype{2}%
-\def\psk@method{}% is defined as option in pstricks-add
\SpecialCoor
%
\def\psPiFour{12.566371}
@@ -434,7 +433,9 @@ D\space##1%
{ moveto }{ L } ifelse }
{ L } ifelse
}
-\def\endqp@line{\end@OpenObj}%
+\def\endqp@line{%
+ \ifPst@variableLW \addto@pscode{ \pst@flattenpath }\fi%
+ \end@OpenObj}%
\def\testqp@line{%
\ifdim\pslinearc>\z@\else
\ifshowpoints\else
@@ -722,7 +723,12 @@ D\space##1%
\define@boolkey[psset]{pst-plot}[Pst@]{VarStep}[true]{}
\define@key[psset]{pst-plot}{PlotDerivative}{\def\psk@PlotDerivative{#1}}%
\define@key[psset]{pst-plot}{VarStepEpsilon}{\def\psk@VarStepEpsilon{#1}}%
-\psset[pst-plot]{VarStep=false,PlotDerivative=none,VarStepEpsilon=default,polarplot=false}
+\define@key[psset]{pst-plot}{method}{\def\psk@method{#1}}% adams - rk4
+\def\@rkiv{rk4}% Runge-Kutta 4 method
+\def\@varrkiv{varrkiv}% Runge-Kutta 4 with an adaptive step method
+\def\@adams{adams}% Adams method
+\def\@default{default}% Adams method
+\psset[pst-plot]{VarStep=false,PlotDerivative=none,VarStepEpsilon=default,polarplot=false,method={}}
%
\def\psplotinit#1{\xdef\psplot@init{#1 }}
\def\psplot@init{}
@@ -2157,8 +2163,8 @@ D\space##1%
\fi%
}
\def\psResetPlotValues{%
-}
-%
+ \psset{method={}}%
+}%
\catcode`\@=\TheAtCode\relax
\endinput
%%