texlive[43556] Master/texmf-dist: pst-plot (20mar17)

commits+karl at tug.org commits+karl at tug.org
Mon Mar 20 23:56:55 CET 2017


Revision: 43556
          http://tug.org/svn/texlive?view=revision&revision=43556
Author:   karl
Date:     2017-03-20 23:56:55 +0100 (Mon, 20 Mar 2017)
Log Message:
-----------
pst-plot (20mar17)

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	2017-03-20 22:56:33 UTC (rev 43555)
+++ trunk/Master/texmf-dist/doc/generic/pst-plot/Changes	2017-03-20 22:56:55 UTC (rev 43556)
@@ -1,4 +1,5 @@
 ----- pst-plot.tex
+1.77  2017-03-20  - new optional argument for \psCoordinates
 1.76  2017-01-18  - allow yLabels and xLabels for negative axes
 1.75  2016-05-18  - fix bug with psgraph and position of labels
 1.74  2016-05-11  - fix bug with trailing space

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	2017-03-20 22:56:33 UTC (rev 43555)
+++ trunk/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex	2017-03-20 22:56:55 UTC (rev 43556)
@@ -1,4 +1,4 @@
-% $Id: pst-plot-doc.tex 303 2016-05-12 20:44:22Z herbert $
+% $Id: pst-plot-doc.tex 393 2017-03-20 08:00:05Z herbert $
 \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
     headexclude,footexclude,oneside,dvipsnames,svgnames]{pst-doc}
 \listfiles
@@ -1226,8 +1226,36 @@
 \end{pspicture}
 \end{LTXexample}
 
+
+\begin{LTXexample}[pos=b]
+\begin{pspicture}(-0.5,-1.5)(1.5,1.5)
+\psaxes[showorigin=false,yLabels={a,b,c}](0,0)(0,-1)(1,1)
+\end{pspicture}
+\begin{pspicture}(-0.5,-0.5)(1.5,2.5)
+\psaxes[showorigin=false,yLabels={a,b,c}](1,2)
+\end{pspicture}
+\begin{pspicture}(-0.5,-2.5)(1.5,.5)
+\psaxes[showorigin=false,yLabels={a,b,c}](0,0)(0,-2)(1,0)
+\end{pspicture}
+
+\begin{pspicture}(-1.5,-1.5)(1.5,1.5)
+\psaxes[showorigin=false,xLabels={a,b,c}](0,0)(-1,-1)(1,1)
+\end{pspicture}
+\begin{pspicture}(-0.5,-0.5)(1.5,2.5)
+\psaxes[showorigin=false,xLabels={a,b,c}](2,2)
+\end{pspicture}
+\begin{pspicture}(-2.5,-2.5)(1.5,.5)
+\psaxes[showorigin=false,xLabels={a,b,c}](0,0)(-2,-2)(0,0)
+\end{pspicture}
+\end{LTXexample}
+
+
 The values for \Lkeyword{xlabelsep} and \Lkeyword{ylabelsep} are taken into account.
 
+
+
+
+
 \subsection{Option \nxLkeyword{xLabelOffset} and \nxLkeyword{ylabelOffset}}\label{labelOffset}
 
 
@@ -3461,18 +3489,24 @@
   \Lcs{psCoordinates}\OptArgs\Largr{\CAny}
 \end{BDef}
 
+A special optional argument is \Lkeyword{markPoint} which is preset to \texttt{true}. With
+\Lkeyword{showpoints} one can set all three points with the same symbol: start point, curve point, and end point.
 
+
 \medskip
 \begin{LTXexample}[pos=t]
 \begin{pspicture}(-5mm,-1cm)(10,10)
   \psaxes{->}(10,10)
   \psplot[algebraic,linecolor=red,linewidth=2pt]{0}{10}{x^2/10}
-  \psCoordinates(*2 {x^2/10})
+  \psCoordinates(*1.5 {x^2/10})
+  \psCoordinates[showpoints](*2.2 {x^2/10})
   \psCoordinates[linecolor=blue,linestyle=dashed,
      dotstyle=square,dotscale=2](*4 {x^2/10})
-  \psCoordinates[arrowscale=1.5,arrows=->,showpoints=false](*6 {x^2/10})
+  \psCoordinates[arrowscale=1.5,arrows=->,markPoint=false](*6 {x^2/10})
+  \psCoordinates[linecolor=blue,linewidth=0.3pt,
+     dotstyle=x,dotscale=2,showpoints](*7 {x^2/10})
   \psCoordinates[arrows=->,linecolor=blue,linestyle=dotted,
-     dotstyle=triangle,dotscale=2](*8 {x^2/10})
+     dotstyle=triangle,dotscale=2,showpoints](*8 {x^2/10})
   \psCoordinates[dotscale=2](*9 {x^2/10})
 \end{pspicture}
 \end{LTXexample}

Modified: trunk/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex	2017-03-20 22:56:33 UTC (rev 43555)
+++ trunk/Master/texmf-dist/tex/generic/pst-plot/pst-plot.tex	2017-03-20 22:56:55 UTC (rev 43556)
@@ -1,4 +1,4 @@
-% $Id: pst-plot.tex 304 2016-05-18 17:25:06Z herbert $
+% $Id: pst-plot.tex 393 2017-03-20 08:00:05Z 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.76}
-\def\filedate{2017/01/18}
+\def\fileversion{1.77}
+\def\filedate{2017/03/20}
 \message{ v\fileversion, \filedate\space (tvz,hv)}
 %
 \edef\TheAtCode{\the\catcode`\@}
@@ -1676,13 +1676,18 @@
                 \pst at number\pst at yticksizeB \pst at number\psylabelsep add
                 \pst at number\psxunit div neg #2){\psvlabel{#3}}}\ignorespaces}
 %
+\define at boolkey[psset]{pst-plot}[Pst@]{markPoint}[true]{}%
+\psset[pst-plot]{markPoint}
+%
 \def\psCoordinates{\pst at object{psCoordinates}}
 \def\psCoordinates at i(#1){%
   \pst at killglue%
   \begingroup
-  \addbefore at par{showpoints}
+  \addbefore at par{showpoints=false,markPoint}
   \use at par
-  \psline(#1|0,0)(#1)\psline(#1)(0,0|#1)\ifshowpoints\psdot(#1)\fi%
+  \psline(#1|0,0)(#1)% single lines to allow arrows
+  \psline(#1)(0,0|#1)%
+  \ifPst at markPoint\psdot(#1)\fi%
   \endgroup
   \ignorespaces
 }



More information about the tex-live-commits mailing list