summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-29 23:26:35 +0000
committerKarl Berry <karl@freefriends.org>2013-04-29 23:26:35 +0000
commitfba99232ec114a7de58113b5cc8d8a4db127cdac (patch)
tree650477272d7b5abadfe6b374144b1218d10e2cdf /Master/texmf-dist/tex
parentd5cab929cd87635980d9239b07cbf79d65d24e80 (diff)
pst-plot (29apr13)
git-svn-id: svn://tug.org/texlive/trunk@30162 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex26
1 files changed, 15 insertions, 11 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 b5df166151e..3ba69d200c1 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 744 2013-01-03 19:54:37Z herbert $
+% $Id: pst-plot.tex 776 2013-04-29 10:10:22Z 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.44}
-\def\filedate{2013/01/03}
+\def\fileversion{1.45}
+\def\filedate{2013/04/29}
\message{ v\fileversion, \filedate\space (tvz,hv)}
%
\edef\TheAtCode{\the\catcode`\@}
@@ -1847,7 +1847,8 @@ D\space##1%
1 1 DT {
1 sub /OffSet exch def
% 1 10 subTNo div 9.99 { % do not write a line for 1
- 10 subTNo 1 add div dup 10 { % do not write a line for 1
+% 10 subTNo 1 add div dup 10 { % do not write a line for 1
+ -10 subTNo 1 add div dup 10 add exch dup -0.1 mul 1 add { % do not write a line for 10 and 1, trace lines between 10 and 1 by steps of 10/subTno
/dx exch def % save index
% /x cntTick dT dx log mul add def %
/x dx log OffSet add \ifis@yAxis\pst@number\psyunit\else\pst@number\psxunit\fi\space mul cntTick add def %
@@ -1923,7 +1924,8 @@ D\space##1%
gsave
1 1 DT cvi {
1 sub /OffSet exch def
- 10 subTNo 1 add div dup 10 { % do not write a line for 1
+ -10 subTNo 1 add div dup 10 add exch dup -0.1 mul 1 add { % do not write a line for 10 and 1, trace lines between 10 and 1 by steps of 10/subTno
+% 10 subTNo 1 add div dup 10 { % do not write a line for 1
% 1 10 subTNo div 9.99 { % do not write a line for 1
/dx exch def % save index
% /x cntTick dT dx log mul add def %
@@ -1984,6 +1986,8 @@ D\space##1%
}%
%
%
+%
+%
\def\psxs@frame{%
\begin@SpecialObj%
\addto@pscode{ % the frame
@@ -2344,19 +2348,19 @@ D\space##1%
\@namedef{endpsgraph*}{\endpsgraph}
%
\def\psPutXLabel#1{%
- \global\pst@cntm=0\relax
- \global\pst@cntn=#1\relax
+ \global\pst@cnto=0\relax
+ \global\pst@cntp=#1\relax
\expandafter\get@Label\psk@xLabels,\@nil
}
\def\psPutYLabel#1{%
- \global\pst@cntm=0\relax
- \global\pst@cntn=#1\relax
+ \global\pst@cnto=0\relax
+ \global\pst@cntp=#1\relax
\expandafter\get@Label\psk@yLabels,\@nil
}
\def\get@Label#1,#2\@nil{%
- \ifnum\the\pst@cntm=\the\pst@cntn
+ \ifnum\the\pst@cnto=\the\pst@cntp
#1
- \else\global\advance\pst@cntm by \@ne
+ \else\global\advance\pst@cnto by \@ne
\expandafter\get@Label#2,\@nil
\fi%
}