summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-03-14 23:25:37 +0000
committerKarl Berry <karl@freefriends.org>2012-03-14 23:25:37 +0000
commitaccc25b38b3c82617b3b28e3f46b589ab4c670ee (patch)
treeaf0f45d8e1fc945e9c0bb3346a18a32da799312b /Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex
parent244839b0edef369eaae2ca5624a8deac38db65d1 (diff)
pst-plot (14mar12)
git-svn-id: svn://tug.org/texlive/trunk@25646 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex15
1 files changed, 7 insertions, 8 deletions
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 0a41943f9ef..59aaeb82e9b 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 665 2012-02-23 07:26:33Z herbert $
+% $Id: pst-plot.tex 668 2012-03-13 16:48:37Z 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.38}
-\def\filedate{2012/02/23}
+\def\fileversion{1.39}
+\def\filedate{2012/03/13}
\message{ v\fileversion, \filedate\space (tvz,hv)}
%
\edef\TheAtCode{\the\catcode`\@}
@@ -75,7 +75,6 @@ D\space##1%
\fi*%
\let(,\let),\let{,\let},\let ,\let^^M,\let_\@empty*% End def
\endgroup
-%
\define@key[psset]{pst-plot}{ignoreLines}[0]{\def\psk@ignoreLines{#1}}
\psset[pst-plot]{ignoreLines=0}
%
@@ -2016,10 +2015,10 @@ D\space##1%
\else
\pst@cnta=#1\relax% % Distance (in sp) to end.
\pstFPdiv\pst@tempA{\the\pst@cnta}{\psk@dx}
- \pstFPadd\pst@tempA{0.55}{\pst@tempA} % to prevent rounding errors
+ \pstFPadd\pst@tempA{0.555}{\pst@tempA} % to prevent rounding errors
\edef\pst@tempB{\pst@int{\pst@tempA}}
% \divide\pst@cnta\psk@dx\relax% % Number of ticks/labels
- \multido{\nA=#3+1}{\pst@tempB}{\uput{\psxlabelsep}[-90]{\pst@xLabelsRot}(\nA,0)%\psxlabelsep)
+ \multido{\nA=#3+1}{\numexpr \pst@tempB+1}{\uput{\psxlabelsep}[-90]{\pst@xLabelsRot}(\nA,0)%\psxlabelsep)
{\strut\psPutXLabel{\nA}}}%
\fi%
}
@@ -2062,10 +2061,10 @@ D\space##1%
\else%
\pst@cnta=#1\relax% % % Distance (in sp) to end.
\pstFPdiv\pst@tempA{\the\pst@cnta}{\psk@dy}
- \pstFPadd\pst@tempA{0.55}{\pst@tempA} % to prevent rounding errors
+ \pstFPadd\pst@tempA{0.555}{\pst@tempA} % to prevent rounding errors
\edef\pst@tempB{\pst@int{\pst@tempA}}
% \divide\pst@cnta\psk@dy\relax% % Number of ticks/labels
- \multido{\nA=#3+1}{\pst@tempB}{\uput{\psylabelsep}[180]{\pst@yLabelsRot}(0,\nA){\strut\psPutYLabel{\nA}}}%
+ \multido{\nA=#3+1}{\numexpr \pst@tempB+1}{\uput{\psylabelsep}[180]{\pst@yLabelsRot}(0,\nA){\strut\psPutYLabel{\nA}}}%
\fi%
}
% \pst@dima: the width between two labels in pt