texlive[48526] Master/texmf-dist: pst-plot (31aug18)

commits+karl at tug.org commits+karl at tug.org
Sat Sep 1 00:11:29 CEST 2018


Revision: 48526
          http://tug.org/svn/texlive?view=revision&revision=48526
Author:   karl
Date:     2018-09-01 00:11:28 +0200 (Sat, 01 Sep 2018)
Log Message:
-----------
pst-plot (31aug18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/pst-plot/Changes
    trunk/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf
    trunk/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex
    trunk/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex

Modified: trunk/Master/texmf-dist/doc/generic/pst-plot/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-plot/Changes	2018-08-31 16:39:29 UTC (rev 48525)
+++ trunk/Master/texmf-dist/doc/generic/pst-plot/Changes	2018-08-31 22:11:28 UTC (rev 48526)
@@ -1,4 +1,5 @@
 ----- pst-plot.tex
+1.91  2018-08-31  - fix for showorigin and triglabels
 1.90  2018-03-28  - fix for showoriginfalse and yAxis=false
 1.89  2018-02-18  - fix for trailing space in loglines=all
 1.88  2018-02-14  - add ignoreLines also for \psreadDataColumn

Modified: trunk/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex	2018-08-31 16:39:29 UTC (rev 48525)
+++ trunk/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex	2018-08-31 22:11:28 UTC (rev 48526)
@@ -1,4 +1,4 @@
-% $Id: pst-plot-doc.tex 734 2018-02-17 19:05:21Z herbert $
+% $Id: pst-plot-doc.tex 799 2018-08-31 16:27:35Z herbert $
 \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
     headexclude,footexclude,oneside,dvipsnames,svgnames]{pst-doc}
 \listfiles
@@ -5,6 +5,7 @@
 \usepackage[utf8]{inputenc}
 \usepackage{pst-ode,
   pst-node,
+  pst-calculate,
   pst-plot
   }
 \let\pstFV\fileversion
@@ -2113,8 +2114,64 @@
 \end{lstlisting}
 
 
+\clearpage
+
+\psset{yAxis=false,xtrigLabels,xtrigLabelBase=3}
+
+\begin{pspicture}(-\psPi,-5mm)(\psPiTwo,12pt)
+\def\pi{\omega}% Hold it local
+\psaxes[dx=\pstRadUnit,Ox=-3](-\psPi,-12pt)(\psPiTwo,12pt)
+\end{pspicture}
+
+\bigskip
+\begin{pspicture}(-\psPi,-5mm)(\psPiTwo,12pt)
+\psaxes[dx=\pstRadUnit,Ox=-3](-\psPi,-12pt)(\psPiTwo,12pt)
+\end{pspicture}
+
+\bigskip
+\begin{pspicture}(-\psPi,-5mm)(\psPiTwo,12pt)
+\def\pi{\sqrt2}% Hold it local
+\psaxes[dx=\pstRadUnit,Ox=-3](-\psPi,-12pt)(\psPiTwo,12pt)
+\end{pspicture}
+
+\bigskip
+\psset{trigLabels=false}
+\begin{pspicture}(-\psPi,-10mm)(\psPiTwo,12pt)
+\psaxes[dx=\pscalculate{3.14/2},Dx=90,Ox=-180](-\psPi,-12pt)(\psPiTwo,12pt)
+\end{pspicture}
+
+
+\bigskip
+\begin{lstlisting}
+\begin{pspicture}(-\psPi,-5mm)(\psPiTwo,12pt)
+\def\pi{\omega}% Hold it local
+\psaxes[dx=\pstRadUnit,Ox=-3](-\psPi,-12pt)(\psPiTwo,12pt)
+\end{pspicture}
+
+\bigskip
+\begin{pspicture}(-\psPi,-5mm)(\psPiTwo,12pt)
+\psaxes[dx=\pstRadUnit,Ox=-3](-\psPi,-12pt)(\psPiTwo,12pt)
+\end{pspicture}
+
+\bigskip
+\begin{pspicture}(-\psPi,-5mm)(\psPiTwo,12pt)
+\def\pi{\sqrt2}% Hold it local
+\psaxes[dx=\pstRadUnit,Ox=-3](-\psPi,-12pt)(\psPiTwo,12pt)
+\end{pspicture}
+
+\bigskip
+\psset{trigLabels=false}
+\begin{pspicture}(-\psPi,-10mm)(\psPiTwo,12pt)
+\psaxes[dx=\pscalculate{3.14/2},Dx=90,Ox=-180](-\psPi,-12pt)(\psPiTwo,12pt)
+\end{pspicture}
+\end{lstlisting}
+
+
 \psset{trigLabels=false,labelFontSize=\scriptstyle,unit=1cm}
 
+
+
+
 \clearpage
 
 %--------------------------------------------------------------------------------------

Modified: trunk/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex	2018-08-31 16:39:29 UTC (rev 48525)
+++ trunk/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex	2018-08-31 22:11:28 UTC (rev 48526)
@@ -1,4 +1,4 @@
-% $Id: pst-plot.tex 747 2018-03-28 10:54:04Z herbert $
+% $Id: pst-plot.tex 798 2018-08-31 14:47:43Z herbert $
 %%
 %% BEGIN pst-plot.tex
 %%
@@ -23,8 +23,8 @@
 \ifx\PSTFPloaded\endinput\else   \input pst-fp.tex  \fi
 \ifx\MultidoLoaded\endinput\else \input multido.tex \fi
 %
-\def\fileversion{1.90}
-\def\filedate{2018/03/28}
+\def\fileversion{1.91}
+\def\filedate{2018/08/31}
 \message{ v\fileversion, \filedate\space (tvz,hv)}
 %
 \edef\TheAtCode{\the\catcode`\@}
@@ -1411,8 +1411,9 @@
           \ifnum\pst at cnto=\@ne                % #1 = trigLabelBase
             \pi                 	      % print pi
           \else
+            \ifnum\pst at cnto=\z@ 0\else
             \the\pst at cnto\pi 	              % print \pst at cnto/\de at nominator pi
-          \fi$%   
+          \fi\fi$%   
 	\else%
           \psk at xlabelFontSize
   	  \ifnum\pst at tempA<0 -\fi
@@ -1445,14 +1446,14 @@
             \else\ifnum\pst at tempA=-1 $\frac{-\pi}{\de at nominator}$%
               \else \ifnum\pst at tempA=1 $\frac{\pi}{\de at nominator}$%
                 \else$\frac{\pst at tempA\pi}{\de at nominator}$% (x pi)/y
-            \fi\fi\fi%
-          \else%
+            \fi\fi\fi
+          \else
             \ifnum\pst at tempA=1 $\frac{\pi}{\de at nominator}$%
             \else\ifnum\pst at tempA=\de at nominator $\pi$%
               \else$\frac{\pst at tempA\pi}{\de at nominator}$% 
-          \fi\fi\fi%
-	\fi%
-      \fi%
+          \fi\fi\fi
+	\fi
+      \fi
     }%
 }
 %
@@ -1476,7 +1477,7 @@
     }%
 }%
 \def\setTrigvLabels{%
-  \def\pst@@@vlabel##1{\psvlabel{##1}}
+  \def\pst@@@vlabel##1{\psvlabel{##1}}%
     \def\psvlabel##1{%
       \ifnum\psk at ytrigLabelBase<2 \def\de at nominator{\@ne}\else\def\de at nominator{\psk at ytrigLabelBase}\fi
       \def\pst at tempA{##1} 
@@ -1494,14 +1495,14 @@
           \fi$%   
 	\else%
           \psk at ylabelFontSize%
-  	  \ifnum\pst at tempA<0 -\fi%
+  	  \ifnum\pst at tempA<0 -\fi
           \ifnum\pst at cnto=\@ne%                % #1 = trigLabelBase
             $\pi$%                             % print pi
-          \else%
+          \else
             \the\pst at cnto$\pi$%                % print \pst at cnto/\de at nominator pi
-          \fi%
-	\fi%
-      \else%
+          \fi
+	\fi
+      \else
 	\ifPst at ymathLabel%
           $\psk at ylabelFontSize
           \ifnum\pst at cntp=\@ne%                % < 1 pi?    $
@@ -1524,19 +1525,19 @@
             \else\ifnum\pst at tempA=-1 $\frac{-\pi}{\de at nominator}$%
               \else \ifnum\pst at tempA=1 $\frac{\pi}{\de at nominator}$%
                 \else$\frac{\pst at tempA\pi}{\de at nominator}$% (x pi)/y
-            \fi\fi\fi%
-          \else%
+            \fi\fi\fi
+          \else
             \ifnum\pst at tempA=1 $\frac{\pi}{\de at nominator}$%
             \else\ifnum\pst at tempA=\de at nominator $\pi$%
               \else$\frac{\pst at tempA\pi}{\de at nominator}$% 
-          \fi\fi\fi%
-	\fi%
-      \fi%
+          \fi\fi\fi
+	\fi
+      \fi
     }%
 }%$
 %
 \def\setFractionvLabels{%
-  \def\pst@@@vlabel##1{\psvlabel{##1}}
+  \def\pst@@@vlabel##1{\psvlabel{##1}}%
   \def\psvlabel##1{%
       \ifnum\psk at yfractionLabelBase<2 \def\de at nominator{\@ne}\else\def\de at nominator{\psk at yfractionLabelBase}\fi
       \def\pst at tempA{##1}% 
@@ -2015,7 +2016,7 @@
     \ifPst at xAxis
       \SpecialLabelsDonefalse
       \begingroup
-      \ifdim\pst at dimb=\z@\else\showoriginfalse\fi
+      \ifdim\pst at dimb=\z@\else\ifPst at xtrigLabels\else\showoriginfalse\fi\fi
       \ifnum\psk at dx=\z@
         \pst at dimg=\psk at Dx\psxunit
         \ifdim\pst at dimg<\p@ 
@@ -2032,7 +2033,7 @@
     \ifPst at yAxis
       \SpecialLabelsDonefalse
       \begingroup
-      \ifdim\pst at dima=\z@ \else\showoriginfalse\fi
+      \ifdim\pst at dima=\z@ \else\ifPst at xtrigLabels\showoriginfalse\fi\fi
       \ifnum\psk at dy=\z@
         \pst at dimg=\psk at Dy\psyunit
         \ifdim\pst at dimg<\p@ 



More information about the tex-live-commits mailing list