summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-plot
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-09 18:19:12 +0000
committerKarl Berry <karl@freefriends.org>2010-09-09 18:19:12 +0000
commit2ca61ccbc381d0879b2a7873b95e0d2b972a5bd7 (patch)
tree987103d14b34fe76b92b4a2d2ca1ff15235ece71 /Master/texmf-dist/doc/generic/pst-plot
parentca6174f9c4fd4c9f7f8e849d208934db0fcb3fa8 (diff)
pst-plot 1.18 (16aug10)
git-svn-id: svn://tug.org/texlive/trunk@19629 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/Changes6
-rw-r--r--Master/texmf-dist/doc/generic/pst-plot/more_docs/README3
-rw-r--r--Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.bib9
-rw-r--r--Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.pdfbin772306 -> 781008 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-plot/pst-plot-doc.tex69
5 files changed, 84 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-plot/Changes b/Master/texmf-dist/doc/generic/pst-plot/Changes
index adbbec4cd19..b0acd0c8652 100644
--- a/Master/texmf-dist/doc/generic/pst-plot/Changes
+++ b/Master/texmf-dist/doc/generic/pst-plot/Changes
@@ -1,4 +1,10 @@
----- pst-plot.tex
+1.19 2010-08-17 - \def\psk@method{}
+ to fix a problem with \psplot
+1.18 2010-08-15 - added plotstyle ybar
+ - added optional arguments xLabels, yLabels,
+ xLabelsRot, and yLabelsRot
+ - added plotstyle xvalues
1.17 2010-06-22 - fix bug with global setting of arguments in \readdata
1.16 2010-05-14 - allow origin when x axis is not crossing the y axis
1.15 2010-04-29 - fixed bug with double definition of tickstyle
diff --git a/Master/texmf-dist/doc/generic/pst-plot/more_docs/README b/Master/texmf-dist/doc/generic/pst-plot/more_docs/README
new file mode 100644
index 00000000000..efdfe42fcfd
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-plot/more_docs/README
@@ -0,0 +1,3 @@
+dtk02-1.pdf : Die mathematischen Funktionen von PostScript
+dtk02-2.pdf : Die Plotfunktionen von pst-plot
+tugboat01-4.pdf : The plot functions of pst-plot
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 ba07f2211ce..64157b2710e 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
@@ -58,3 +58,12 @@
address = {Heidelberg/Hamburg}
}
+@Book{PSTricksE,
+ author = {Herbert Vo\ss{}},
+ title = {\texttt{PSTricks} -- {G}raphics and {P}ost{S}cript for \LaTeX},
+ edition = {1st},
+ publisher = {UIT},
+ year = {2010},
+ address = {Cambridge -- UK}
+}
+
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 05e490795bc..e62656fbe01 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 1bf58798d87..a82d58c6601 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 314 2010-05-14 17:02:16Z herbert $
+%% $Id: pst-plot-doc.tex 369 2010-08-15 08:07:42Z herbert $
\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,oneside,dvipsnames,svgnames]{pst-doc}
\listfiles
@@ -474,6 +474,7 @@ An example with ticks on every side of the frame and filled areas:
\end{lstlisting}
+
%-------------------------------------------------------------------------------------------
\subsection{The new options for nxLenv{psgraph}}\label{psgraphoptions}
%-------------------------------------------------------------------------------------------
@@ -679,6 +680,7 @@ redefinition, then do it for \Lcs{pst@@@hlabel} and
\Lkeyword{xAxisLabelPos} & (x,y) or empty & \{\Lcs{@empty}\} & \pageref{psgraphoptions}\\
\Lkeyword{xDecimals} & integer or empty & \{\} & \pageref{xydecimals}\\%ok
\Lkeyword{xEnd} & integer or empty & \{\} & \pageref{nxend}\\
+\Lkeyword{xLabels} & list & \{\Lcs{empty}\} & \pageref{xLabels}\\
\Lkeyword{xlabelFactor} & anything & \{\Lcs{@empty}\} & \pageref{labelfactor}\\
\Lkeyword{xlabelPos} & \Lkeyval{bottom},\Lkeyval{axis},\Lkeyval{top}
& \Lkeyval{bottom} & \pageref{labelpos}\\
@@ -703,7 +705,8 @@ redefinition, then do it for \Lcs{pst@@@hlabel} and
\Lkeyword{yAxisLabelPos} & (x,y) or empty & \{\Lcs{@empty}\} & \pageref{psgraphoptions}\\
\Lkeyword{yDecimals} & integer or empty & \{\} & \pageref{xydecimals}\\%ok
\Lkeyword{yEnd} & integer or empty & \{\} & \pageref{ystartend}\\
-\Lkeyword{ylabelFactor} & literal & \{\Lcs{@empty}\} & \pageref{labelfactor}\\
+\Lkeyword{yLabels} & list & \{\Lcs{empty}\} & \pageref{xLabels}\\
+\Lkeyword{ylabelFactor} & literal & \{\Lcs{empty}\} & \pageref{labelfactor}\\
\Lkeyword{ylabelPos} & \Lkeyval{left}|\Lkeyval{axis}|\Lkeyval{right}
& \Lkeyval{left} & \pageref{labelpos}\\
\Lkeyword{ylogBase} & integer or empty & \{\} & \pageref{ylogbase}\\
@@ -724,6 +727,19 @@ redefinition, then do it for \Lcs{pst@@@hlabel} and
}
+%-------------------------------------------------------------------------------------------
+\subsection{Option \nxLkeyword{xLabels}, \nxLkeyword{yLabels},
+ \nxLkeyword{xLabelrot}, and \nxLkeyword{yLabelrot}}\label{xLabels}
+%-------------------------------------------------------------------------------------------
+\xLkeyword{xLabels}\xLkeyword{yLabels}\xLkeyword{xLabelRot}\xLkeyword{yLabelRot}
+\begin{LTXexample}[pos=b]
+\psset{xunit=0.75}
+\begin{pspicture}(-2,-2)(14,4)
+\psaxes[xLabels={,Kerry,Laois,London,Waterford,Clare,Offaly,Galway,Wexford,Dublin,%
+ Limerick,Tipperary,Cork,Kilkenny},xLabelsRot=45,yLabels={,low,medium,high}](14,4)
+\end{pspicture}
+\end{LTXexample}
+
%------------------------------------------------------------------------------------
\subsection{Option \nxLkeyword{yMaxValue}}\label{yMaxValue}
@@ -2430,7 +2446,36 @@ total width.
\end{pspicture}
\end{LTXexample}
-\clearpage
+%--------------------------------------------------------------------------------------
+\subsection{Plot style \nxLkeyword{ybar}}\label{options:ybar}
+%--------------------------------------------------------------------------------------
+With the setting \Lkeyset{plotstyle=ybar} the graph is set with horizontal bars instead
+of vertical. For \Lkeyword{yLabels} see section~\ref{yLabels}.
+.
+\begin{center}
+\savedata{\data}[1 1 1 2 1 3 2 4 3 5 4 6 4 7 6 8 6 9 7 10 25 11 30 12 32 13]
+
+\psset{llx=-1.5cm,lly=-1.5cm,xAxisLabel=\textbf{Frequency of Winning the Final},
+ xAxisLabelPos={c,-1cm},yAxisLabel=,yLabels={,Kerry,Laois,London,Waterford,Clare,Offaly,
+ Galway,Wexford,Dublin,Limerick,Tipperary,Cork,Kilkenny}}
+\begin{psgraph}[axesstyle=frame,labels=x,ticksize=-4pt 0,Dx=5](0,0)(35,14){10cm}{7cm}
+ \listplot[plotstyle=ybar,fillcolor=blue!20,linecolor=blue,barwidth=4mm,fillstyle=solid]{\data}
+ \listplot[plotstyle=xvalues,labelsep=5pt]{\data}
+\end{psgraph}
+\end{center}
+
+\begin{lstlisting}
+\savedata{\data}[1 1 1 2 1 3 2 4 3 5 4 6 4 7 6 8 6 9 7 10 25 11 30 12 32 13]
+
+\psset{llx=-1.5cm,lly=-1.5cm,xAxisLabel=\textbf{Frequency of Winning the Final},
+ xAxisLabelPos={c,-1cm},yAxisLabel=,yLabels={,Kerry,Laois,London,Waterford,Clare,Offaly,
+ Galway,Wexford,Dublin,Limerick,Tipperary,Cork,Kilkenny}}
+\begin{psgraph}[axesstyle=frame,labels=x,ticksize=-4pt 0,Dx=5](0,0)(35,14){10cm}{7cm}
+ \listplot[plotstyle=ybar,fillcolor=blue!20,linecolor=blue,barwidth=4mm,fillstyle=solid]{\data}
+ \listplot[plotstyle=xvalues,labelsep=5pt]{\data}
+\end{psgraph}
+\end{lstlisting}
+
%--------------------------------------------------------------------------------------
\subsection{Plotstyle \nxLkeyval{LSM}}\label{LSM}
%--------------------------------------------------------------------------------------
@@ -2576,6 +2621,24 @@ everything behind this box is not seen.
\end{pspicture}
\end{LTXexample}
+
+\subsection{Plotstyles \nxLkeyval{xvalues} and \nxLkeyval{xvalues*}}\label{xvalues}
+This is similiar to the options \Lkeyval{values}, except that it plots the $x$-values
+instead of the $y$-values. This maybe useful when also using the plotstyle \Lkeyval{ybar}
+(see~Section\vref{options:ybar}).
+
+\medskip
+\begin{LTXexample}[width=7cm]
+\begin{pspicture}(-2.5,-.5)(2.5,5.5)
+ \psaxes{->}(0,0)(-2,0)(2,5.5)
+ \psplot{-2}{2}{x dup mul }
+ \psplot[plotstyle=xvalues,
+ plotpoints=10]{-2}{2}{x dup mul }
+\end{pspicture}
+\end{LTXexample}
+
+
+
\clearpage
%--------------------------------------------------------------------------------------
\section{Polar plots}\label{polarplots}