summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-plot
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-11-15 23:48:38 +0000
committerKarl Berry <karl@freefriends.org>2010-11-15 23:48:38 +0000
commit64334d6ae2213ccd2a115c5d22884f9465acb16c (patch)
tree2b08b3a9dba86972b8434385eee28ca2ee7121d9 /Master/texmf-dist/doc/generic/pst-plot
parent4a1168ec20c1ee90dc794d040a9d343bc533ab00 (diff)
pst-plot (15nov10)
git-svn-id: svn://tug.org/texlive/trunk@20453 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-plot')
-rw-r--r--Master/texmf-dist/doc/generic/pst-plot/Changes4
-rw-r--r--Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.bib4
-rw-r--r--Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdfbin780236 -> 789673 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex68
4 files changed, 72 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-plot/Changes b/Master/texmf-dist/doc/generic/pst-plot/Changes
index 7ef2d0156cb..7585f9682d9 100644
--- a/Master/texmf-dist/doc/generic/pst-plot/Changes
+++ b/Master/texmf-dist/doc/generic/pst-plot/Changes
@@ -1,4 +1,8 @@
----- pst-plot.tex
+1.24 2010-11-14 - fix bug: replaced psk@ticks with psk@labels
+1.23 2010-10-21 - add option plotNoX to choose any column as x value
+1.22 2010-10-02 - fix bug with wrong color for the axes when using
+ subticks
1.21 2010-09-28 - fix bug with psgraph and the ! optional argument
1.20 2010-09-09 - new optional arguments for setting a variable
linewidth and variable color for plotstyle curve
diff --git a/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.bib b/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.bib
index 64157b2710e..14e8fc1c736 100644
--- a/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.bib
+++ b/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.bib
@@ -52,9 +52,9 @@
@Book{PSTricks2,
author = {Herbert Vo\ss{}},
title = {\texttt{PSTricks} -- {G}rafik f\"ur \TeX{} und \LaTeX},
- edition = {fifth},
+ edition = {6.},
publisher = {DANTE -- Lehmanns},
- year = {2008},
+ year = {2010},
address = {Heidelberg/Hamburg}
}
diff --git a/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf b/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf
index 6d92839ff63..af622328c49 100644
--- a/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex b/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex
index a82d58c6601..715e74c97c5 100644
--- a/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex
@@ -1,4 +1,4 @@
-%% $Id: pst-plot-doc.tex 369 2010-08-15 08:07:42Z herbert $
+%% $Id: pst-plot-doc.tex 401 2010-10-21 07:34:02Z herbert $
\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,oneside,dvipsnames,svgnames]{pst-doc}
\listfiles
@@ -2266,7 +2266,7 @@ of all records with the plotstyle option \Lkeyval{curve}.\xLkeyword{nStep}\xLkey
%--------------------------------------------------------------------------------------
-\subsection{Options \nxLkeyword{plotNo} and \nxLkeyword{plotNoMax}}\label{plotno}
+\subsection{Options \nxLkeyword{plotNo}, \nxLkeyword{plotNoX}, and \nxLkeyword{plotNoMax}}\label{plotno}
%--------------------------------------------------------------------------------------
By default the plot macros expect \verb+x|y+ data records, but
when having data files with multiple values for y, like:
@@ -2314,6 +2314,70 @@ without any modification to the data file:
\end{pspicture}
\end{LTXexample}
+It is also possible to select another column for the $x$-value. Suppose we have
+a data base with records like \verb+x y y x y+, then it is by default a record
+with one $x$ value and four possible $y$ values. We still have to define
+\Lkeyword{plotNoMax}=4. However, it is possible to select the forth value as
+new $x$ value by setting \Lkeyword{plotNoX=4} (it is preset to 1).
+Then the forth value is taken as $x$. The example uses the the following
+data set.
+
+\begin{lstlisting}[style=syntax]
+% X1 X2 Y1 Y2
+ 2 55.1500 10.35 11.26
+ 31 59.7167 11.06 11.11
+ 34 65.7167 11.87 10.83
+ 40 62.1833 11.59 11.19
+ 45 56.0500 10.74 11.50
+ 47 68.2667 12.65 11.11
+ 52 69.7500 13.23 11.38
+ 55 76.3333 14.28 11.22
+ 59 75.4000 14.69 11.69
+ 62 78.6000 15.25 11.64
+ 66 69.3167 14.06 12.17
+ 69 77.5500 15.24 11.79
+ 73 70.8833 14.52 12.29
+ 75 60.6167 13.10 12.97
+ 79 68.3833 14.43 12.66
+ 82 56.6833 12.05 12.75
+ 87 95.1333 21.10 13.31
+\end{lstlisting}
+
+
+\begin{filecontents*}{demo.txt}
+% X1 X2 Y1 Y2
+ 2 55.1500 10.35 11.26
+ 31 59.7167 11.06 11.11
+ 34 65.7167 11.87 10.83
+ 40 62.1833 11.59 11.19
+ 45 56.0500 10.74 11.50
+ 47 68.2667 12.65 11.11
+ 52 69.7500 13.23 11.38
+ 55 76.3333 14.28 11.22
+ 59 75.4000 14.69 11.69
+ 62 78.6000 15.25 11.64
+ 66 69.3167 14.06 12.17
+ 69 77.5500 15.24 11.79
+ 73 70.8833 14.52 12.29
+ 75 60.6167 13.10 12.97
+ 79 68.3833 14.43 12.66
+ 82 56.6833 12.05 12.75
+ 87 95.1333 21.10 13.31
+\end{filecontents*}
+
+
+\begin{LTXexample}[pos=t,preset=\centering]
+\readdata{\data}{demo.txt}
+\psset{xAxisLabel={},yAxisLabel={},llx=-5mm}
+\begin{psgraph}[axesstyle=frame,Dy=5,Dx=10,ticksize=5pt 0](0,0)(100,25){10cm}{8cm}
+\psset{dotstyle=square,dotscale=1.5,linewidth=1.5pt}
+\listplot[plotNoMax=3,plotNo=2,linecolor=red,plotstyle=dots]{\data}
+\listplot[plotNoMax=3,plotNoX=2,plotNo=3,linecolor=blue,plotstyle=dots]{\data}
+\end{psgraph}
+\end{LTXexample}
+
+
+
\clearpage