summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pstricks-add
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-08-12 16:11:48 +0000
committerKarl Berry <karl@freefriends.org>2006-08-12 16:11:48 +0000
commit9d307955b11293bfafcc42264e1aa499f7fedfb9 (patch)
treefa49e101a991221da852bffea3151b45c877e0d4 /Master/texmf-dist/tex/generic/pstricks-add
parentd850ed90db1a9f0924025751583132c068c524ee (diff)
pstricks-add update
git-svn-id: svn://tug.org/texlive/trunk@1936 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pstricks-add')
-rw-r--r--Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex57
1 files changed, 29 insertions, 28 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 1d017d90509..42d066f3fb2 100644
--- a/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
+++ b/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
@@ -26,8 +26,8 @@
\ifx\MultidoLoaded\endinput\else\input multido \fi
\ifx\PSTXKeyLoaded\endinput\else\input pst-xkey \fi
%
-\def\fileversion{2.76b}
-\def\filedate{2006/07/07}
+\def\fileversion{2.78}
+\def\filedate{2006/08/08}
\message{`pstricks-add' v\fileversion, \filedate\space (dr,hv)}
%
\edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax
@@ -2030,20 +2030,20 @@
\newdimen\pst@xunit
\newdimen\pst@yunit
%
-\def\psgraph{\def\pst@par{}\pst@object{psgraph}}
+\def\psgraph{\pst@object{psgraph}}
\def\psgraph@i{\pst@getarrows\psgraph@ii}
\def\psgraph@ii(#1,#2){\@ifnextchar({\psgraph@iii(#1,#2)}{\psgraph@iv(0,0)(#1,#2)}}
\def\psgraph@iii(#1,#2)(#3,#4){\@ifnextchar({\psgraph@v(#1,#2)(#3,#4)}{\psgraph@iv(#1,#2)(#3,#4)}}
%
\def\psgraph@iv(#1,#2)(#3,#4)#5#6{% no special origin defined
% minX | minY | maxX | maxY | Length x-axis | length y-axis%
- \pst@killglue
- \begingroup
- \pst@dimo=#3\p@\advance\pst@dimo by -#1\p@ % delta x
- \pst@divide{#5}{\pst@dimo}\pst@tempA
+ \pst@killglue%
+ \begingroup%
+ \pst@dimo=#3\p@\advance\pst@dimo by -#1\p@% delta x
+ \pst@divide{#5}{\pst@dimo}\pst@tempA%
\pst@xunit=\pst@tempA\p@%
- \pst@dimo=#4\p@\advance\pst@dimo by -#2\p@ % delta y
- \pst@dima=#6
+ \pst@dimo=#4\p@\advance\pst@dimo by -#2\p@% delta y
+ \ifx!#6 \pst@dima=\pst@tempA\pst@dimo\else\pst@dima=#6\fi
\pst@divide\pst@dima{\pst@dimo}\pst@tempA%
\pst@yunit=\pst@tempA\p@%
%
@@ -2051,24 +2051,24 @@
\pst@dimb=#2\pst@yunit \advance\pst@dimb by \psk@lly%
\pst@dimc=#3\pst@xunit \advance\pst@dimc by \psk@urx%
\pst@dimd=#4\pst@yunit \advance\pst@dimd by \psk@ury%
- \if@star\pspicture*(\pst@dima,\pst@dimb)(\pst@dimc,\pst@dimd)\else
- \pspicture(\pst@dima,\pst@dimb)(\pst@dimc,\pst@dimd)\fi
+ \if@star\pspicture*(\pst@dima,\pst@dimb)(\pst@dimc,\pst@dimd)\else%
+ \pspicture(\pst@dima,\pst@dimb)(\pst@dimc,\pst@dimd)\fi%
\psset{xunit=\pst@xunit,yunit=\pst@yunit}%
- \bgroup
- \use@par
- \psaxes(#1,#2)(#3,#4)
- \egroup
+ \bgroup%
+ \use@par%
+ \psaxes(#1,#2)(#3,#4)%
+ \egroup%
\psgraph@vi(#1,#2)(#3,#4)%
}
\def\psgraph@v(#1,#2)(#3,#4)(#5,#6)#7#8{% with special origin
% Xorig | yorig | minX | minY | maxX | maxY | Length x-axis | length y-axis%
- \pst@killglue
- \begingroup
- \pst@dimo=#5\p@\advance\pst@dimo by -#3\p@ % delta x
- \pst@divide{#7}{\pst@dimo}\pst@tempA
+ \pst@killglue%
+ \begingroup%
+ \pst@dimo=#5\p@\advance\pst@dimo by -#3\p@% delta x
+ \pst@divide{#7}{\pst@dimo}\pst@tempA%
\pst@xunit=\pst@tempA\p@%
- \pst@dimo=#6\p@\advance\pst@dimo by -#4\p@ % delta y
- \pst@dima=#8
+ \pst@dimo=#6\p@\advance\pst@dimo by -#4\p@% delta y
+ \ifx!#8 \pst@dima=\pst@tempA\pst@dimo\else\pst@dima=#8\fi
\pst@divide\pst@dima{\pst@dimo}\pst@tempA%
\pst@yunit=\pst@tempA\p@%
%
@@ -2076,13 +2076,13 @@
\pst@dimb=#4\pst@yunit \advance\pst@dimb by \psk@lly%
\pst@dimc=#5\pst@xunit \advance\pst@dimc by \psk@urx%
\pst@dimd=#6\pst@yunit \advance\pst@dimd by \psk@ury%
- \if@star\pspicture*(\pst@dima,\pst@dimb)(\pst@dimc,\pst@dimd)\else
- \pspicture(\pst@dima,\pst@dimb)(\pst@dimc,\pst@dimd)\fi
+ \if@star\pspicture*(\pst@dima,\pst@dimb)(\pst@dimc,\pst@dimd)\else%
+ \pspicture(\pst@dima,\pst@dimb)(\pst@dimc,\pst@dimd)\fi%
\psset{xunit=\pst@xunit,yunit=\pst@yunit}%
- \bgroup
- \use@par
- \psaxes(#1,#2)(#3,#4)(#5,#6)
- \egroup
+ \bgroup%
+ \use@par%
+ \psaxes(#1,#2)(#3,#4)(#5,#6)%
+ \egroup%
\psgraph@vi(#1,#2)(#5,#6)%
}
\def\psgraph@vi(#1,#2)(#3,#4){%
@@ -2099,7 +2099,7 @@
\ignorespaces%
}
\def\endpsgraph{%
- \pst@killglue
+ \pst@killglue%
\endpspicture%
\endgroup%
}
@@ -2908,6 +2908,7 @@
labelFontSize={},%
StepType=lower, % alternative SumType=upper
plotstyle=line,plotpoints=50,%
+ barwidth=0.25cm,%
ticksize=-4pt 4pt,
tickstyle=full, ticks=all,%
subticksize=0.75,subticks=1,tickcolor=black,%