summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pstricks-add
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pstricks-add')
-rw-r--r--Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex22
1 files changed, 11 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex b/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
index 32b74604d82..6dd69d86909 100644
--- a/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
+++ b/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
@@ -1,4 +1,4 @@
-%% $Id: pstricks-add.tex 345 2010-06-10 16:07:44Z herbert $
+%% $Id: pstricks-add.tex 376 2010-08-28 15:40:17Z herbert $
%%
%%
%% This is file `pstricks-add.tex',
@@ -31,8 +31,8 @@
\ifx\PSTXKeyLoaded\endinput\else \input pst-xkey \fi
\ifx\PSTmathLoaded\endinput\else \input pst-math \fi
%
-\def\fileversion{3.41}
-\def\filedate{2010/06/16}
+\def\fileversion{3.44}
+\def\filedate{2010/08/28}
\message{`pstricks-add' v\fileversion, \filedate\space (dr,hv)}
%
\edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax
@@ -828,15 +828,14 @@
%code to place ticks along polyline
\def\pspolylineticks{\pst@object{pspolylineticks}}%
\def\pspolylineticks@i#1{\@ifnextchar[{\pspolylineticks@ii{#1}}{\pspolylineticks@ii{#1}[]}}%
+\newcount\pst@cntC%
\def\pspolylineticks@ii#1[#2]#3#4#5{{%
%#1= root name,#2=pscode (optional),#3=metric function,#4=first tick,#5=tick count
% Metric function may be a function of x, y (keyword metricFunction)
% or a function of x, y, dx, dy, ds requiring incremental build
-\pst@killglue%
\addbefore@par{arrows=-,linewidth=\psk@ytickwidth\pslinewidth}%
\use@par%
\pst@killglue%there's a leak that can occur here with ticksize--fixed in recent pstricks.tex
-\newcount\pst@cntC%
\pst@cntC=\expandafter\csname #1pointcount\endcsname\relax%
\pst@cntb=\pst@cntC\advance\pst@cntb\m@ne\relax%
\pst@cntd=\pst@cntC\advance\pst@cntd\@ne\relax%
@@ -1118,16 +1117,13 @@ dup #1Delta.X m 1 add get mul #1.X m get add #1Tick.X j 3 -1 roll put % s on sta
\endgroup
\ignorespaces}
%
-\define@key[psset]{pstricks-add}{method}{\def\psk@method{#1}}% adams - rk4
+%\define@key[psset]{pstricks-add}{method}{\def\psk@method{#1}}% defined in pst-plot
\define@key[psset]{pstricks-add}{whichabs}{\def\psk@whichabs{#1}}%
\define@key[psset]{pstricks-add}{whichord}{\def\psk@whichord{#1}}%
\define@key[psset]{pstricks-add}{plotfuncx}{\def\psk@plotfuncx{#1}}%
\define@key[psset]{pstricks-add}{plotfuncy}{\def\psk@plotfuncy{#1}}%
\define@key[psset]{pstricks-add}{expression}{\def\psk@expression{#1}}%
\define@boolkey[psset]{pstricks-add}[Pst@]{buildvector}[true]{}%
-\def\@rkiv{rk4}% Runge-Kutta 4 method
-\def\@adams{adams}% Adams method
-\def\@default{default}% Adams method
%
\define@key[psset]{pstricks-add}{varsteptol}{\def\psk@varsteptol{#1}}%
\define@key[psset]{pstricks-add}{adamsorder}{\def\psk@adamsorder{#1}}%
@@ -1376,7 +1372,6 @@ dup #1Delta.X m 1 add get mul #1.X m get add #1Tick.X j 3 -1 roll put % s on sta
\ignorespaces% % part of \end@OpenObj
}%
%
-\def\@varrkiv{varrkiv}% Runge-Kutta 4 with an adaptive step method
%% #1-#2 x range
%% #3 initial value of y (which is a vector) y(0) y'(0) y''(0) ...
%% #4 value of the derivative (y and t can be used)
@@ -1641,6 +1636,10 @@ dup #1Delta.X m 1 add get mul #1.X m get add #1Tick.X j 3 -1 roll put % s on sta
% .....
% ] def
%
+\define@key[psset]{pstricks-add}{Xoffset}[0pt]{\pst@getlength{#1}\psk@Xoffset}
+\define@key[psset]{pstricks-add}{Yoffset}[0pt]{\pst@getlength{#1}\psk@Yoffset}
+\define@key[psset]{pstricks-add}{XYoffset}[0pt]{\pst@getlength{#1}\psk@Xoffset\let\psk@Yoffset\psk@Xoffset}
+\psset[pstricks-add]{XYoffset=0pt}
\define@key[psset]{pstricks-add}{colorType}[0]{\def\psk@colorType{#1}}
\psset[pstricks-add]{colorType=0} % 0-> two color mode 1->wavelength mode (400..700nm)
% 0-> two color mode
@@ -1659,6 +1658,7 @@ dup #1Delta.X m 1 add get mul #1.X m get add #1Tick.X j 3 -1 roll put % s on sta
dotmatrix { dup Min lt { /Min ED } { dup Max gt { /Max ED } { pop } ifelse } ifelse } forall
/dMaxMin Max Min sub def
\psk@dotsize
+ \psk@Xoffset\space \psk@Yoffset\space translate
\@nameuse{psds@\psk@dotstyle} %
/n 0 def % index for element
1 1 #1 { % the y loop (outer one)
@@ -2039,7 +2039,7 @@ dup #1Delta.X m 1 add get mul #1.X m get add #1Tick.X j 3 -1 roll put % s on sta
ArrowInside={}, ArrowInsidePos=0.5,
ArrowInsideNo=1, ArrowInsideOffset=0,
randomPoints=1000,color=false,
- method={},whichabs={},whichord={},
+ whichabs={},whichord={},
plotfuncx={},plotfuncy={},buildvector=false,
Derive={},adamsorder=4,
Tnormal=false,