diff options
author | Karl Berry <karl@freefriends.org> | 2013-11-23 23:59:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-11-23 23:59:37 +0000 |
commit | 90706d4b3b2cbb99f55bd3999f1315a0c09dc380 (patch) | |
tree | 20c52057f1996413f779155961d7f7d58c57b838 /Master/texmf-dist/tex/generic/pst-plot | |
parent | b83e40cafc2d8b440489311729d1e34d4aba372f (diff) |
pst-plot (23nov13)
git-svn-id: svn://tug.org/texlive/trunk@32222 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pst-plot')
-rw-r--r-- | Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex | 30 |
1 files changed, 17 insertions, 13 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 718777c2663..d3e473e8867 100644 --- a/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex +++ b/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex @@ -19,8 +19,8 @@ \ifx\PSTFPloaded\endinput\else \input pst-fp.tex \fi \ifx\MultidoLoaded\endinput\else \input multido.tex \fi % -\def\fileversion{1.55} -\def\filedate{2013/11/21} +\def\fileversion{1.56} +\def\filedate{2013/11/22} \message{ v\fileversion, \filedate\space (tvz,hv)} % \edef\TheAtCode{\the\catcode`\@} @@ -2051,22 +2051,24 @@ D\space##1% \fi% } % -\def\psk@EndAngle{360}% be sure that it isn't undefined -\define@key[psset]{pst-plot}{quadrant}[4]{% - \ifcase#1 \or - \def\psk@EndAngle{90}\or - \def\psk@EndAngle{180}\or - \def\psk@EndAngle{270}\else - \def\psk@EndAngle{360}% - \fi} -\psset[pst-plot]{quadrant=4} +%\def\psk@EndAngle{360}% be sure that it isn't undefined +%\define@key[psset]{pst-plot}{quadrant}[4]{% +% \ifcase#1 \or +% \def\psk@EndAngle{90}\or +% \def\psk@EndAngle{180}\or +% \def\psk@EndAngle{270}\else +% \def\psk@EndAngle{360}% +% \fi} +%\psset[pst-plot]{quadrant=4} \def\psxs@polar{% (rx,ry) % all other values are ignored \pst@killglue \begingroup \edef\pst@dimC{\strip@pt\pst@dimc}% RadiusX \pstFPDiv\pstR@dius{\pst@dimC}{\strip@pt\psxunit}% in cm and as integer - \addbefore@par{Dy=30}% for the angle step + \edef\pst@dimD{\strip@pt\pst@dimd}% RadiusX + \pstFPDiv\psk@EndAngle{\pst@dimD}{\strip@pt\psyunit}% in cm and as integer + \ifnum\psk@EndAngle=0 \def\psk@EndAngle{360}\fi \use@keep@par \pstFPDiv\pstN@lpha{\psk@EndAngle}{\psk@Dy}% No. of (int) main lines \pstFPdiv\pstd@lpha{\psk@Dy}{\psk@ysubticks}% sub dAlpha @@ -2099,10 +2101,12 @@ D\space##1% \Pst@xAxisfalse\Pst@yAxisfalse% } % +\def\@polar{polar} \define@key[psset]{pst-plot}{axesstyle}[axes]{% \@ifundefined{psxs@#1}% {\@pstrickserr{Axes style `#1' not defined}\@eha}% - {\def\psk@axesstyle{#1}}} + {\def\psk@axesstyle{#1}% + \ifx\psk@axesstyle\@polar\psset{Dy=30}\fi}} \psset[pst-plot]{axesstyle=axes} \define@key[psset]{pst-plot}{xLabels}[]{\def\psk@xLabels{#1}} \define@key[psset]{pst-plot}{xLabelsRot}[0]{\pst@getangle{#1}\pst@xLabelsRot} |