summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/numericplots/src
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-09-19 23:15:08 +0000
committerKarl Berry <karl@freefriends.org>2013-09-19 23:15:08 +0000
commit7d20726c049fe3f539dfc3458a5f542d182eafaa (patch)
tree1208ba74ec623bdfa764d300bb84df1b1e99b5d8 /Master/texmf-dist/doc/latex/numericplots/src
parent046a18fe7e999f75ad01f2992df59bafd8396d5e (diff)
numericplots (19sep13)
git-svn-id: svn://tug.org/texlive/trunk@31701 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/numericplots/src')
-rw-r--r--Master/texmf-dist/doc/latex/numericplots/src/FurtherExamples.tex5
-rw-r--r--Master/texmf-dist/doc/latex/numericplots/src/MultiplePlots.tex8
-rw-r--r--Master/texmf-dist/doc/latex/numericplots/src/NumericPlotsDoc.tex4
-rw-r--r--Master/texmf-dist/doc/latex/numericplots/src/TechnicalDetails.tex2
-rw-r--r--Master/texmf-dist/doc/latex/numericplots/src/examples/furtherEx_TickLabels.tex4
-rw-r--r--Master/texmf-dist/doc/latex/numericplots/src/examples/multiplots_exampleIII.tex24
-rw-r--r--Master/texmf-dist/doc/latex/numericplots/src/history.tex9
-rw-r--r--Master/texmf-dist/doc/latex/numericplots/src/keys_NumericDataPlot.tex6
8 files changed, 53 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/numericplots/src/FurtherExamples.tex b/Master/texmf-dist/doc/latex/numericplots/src/FurtherExamples.tex
index 1ef2e94ab2c..14ba60b0909 100644
--- a/Master/texmf-dist/doc/latex/numericplots/src/FurtherExamples.tex
+++ b/Master/texmf-dist/doc/latex/numericplots/src/FurtherExamples.tex
@@ -183,7 +183,7 @@ Here, some features of the pst-plot command \verb|listplot| are illustrated. Wit
\subsection{Custom Grid}
-To plot a custom grid (grid-lines are not äquidistant) the following procedure
+To plot a custom grid (grid-lines are not equidistant) the following procedure
may be used if working with Matlab:
Add the following code after export2latex (XTick is a vector containing the
@@ -293,8 +293,9 @@ with linejoin=1.
-\subsection{Customized Tick Labels}
+\subsection{Customized Tick Labels}\label{sec:CustomTickLabels}
+A common task is to plot a graph without numeric tick labels but with selected customized labels. This is easily accomplished by setting the option \verb|NoTickLabel| when plotting the axis and adding the customized labels with the commands \verb|PutTickLabelXaxis| and \verb|PutTickLabelYaxis|. Note that when setting \verb|NoTickLabel| for an axis, the option \verb|ax| has to be set in each call of \verb|PutTickLabelXaxis| and \verb|PutTickLabelYaxis| according to the axis one wishes to place the label at. This is also required if only the lower x-axis or left y-axis are plotted and tick labelled.
\begin{minipage}[T]{0.5\linewidth}
\lstinputlisting[linerange=5-12]{examples/furtherEx_TickLabels}
diff --git a/Master/texmf-dist/doc/latex/numericplots/src/MultiplePlots.tex b/Master/texmf-dist/doc/latex/numericplots/src/MultiplePlots.tex
index de2b8a42dc7..9985b8614eb 100644
--- a/Master/texmf-dist/doc/latex/numericplots/src/MultiplePlots.tex
+++ b/Master/texmf-dist/doc/latex/numericplots/src/MultiplePlots.tex
@@ -35,3 +35,11 @@ An example with different y-axes on the left and on the right side:
\lstinputlisting{examples/multiplots_exampleII}
\input{examples/multiplots_exampleII}
+
+
+It is also possible to rotate the labels of the axes (LabelRot and LabelRefPt
+have to be set after AxisStyle!):
+
+\lstinputlisting[firstline=12, lastline=20]{examples/multiplots_exampleIII}
+
+\input{examples/multiplots_exampleIII}
diff --git a/Master/texmf-dist/doc/latex/numericplots/src/NumericPlotsDoc.tex b/Master/texmf-dist/doc/latex/numericplots/src/NumericPlotsDoc.tex
index 16d0e53afec..8ce4b122bdd 100644
--- a/Master/texmf-dist/doc/latex/numericplots/src/NumericPlotsDoc.tex
+++ b/Master/texmf-dist/doc/latex/numericplots/src/NumericPlotsDoc.tex
@@ -61,7 +61,7 @@
\definecolor{NumericPlotsCommands}{RGB}{0, 102, 153}
\usepackage{listings}
\lstset{language=[latex]tex,tabsize=2,basicstyle=\small\ttfamily,%
- numbers=left, numberstyle=\tiny,%
+ numbers=none, numberstyle=\tiny,%
breaklines=true, breakatwhitespace=false,%
emptylines=*1,%
columns=flexible,%
@@ -71,7 +71,7 @@
NDPput,putExpX,putExpY,%
putN,putNE,putE,putSE,putS,putSW,putW,putNW,%
PutTickLabelYaxis,PutTickLabelXaxis,%
- NDPhline, NDPvline, NDPline, NDPhbox NDPvbox, NDPbox,%
+ NDPhline, NDPvline, NDPline, NDPhbox, NDPvbox, NDPbox,%
LegendDefinition, LegLine,%
StdLabelOption,StdTickLabelOption,%
multilistplot, testframe}%
diff --git a/Master/texmf-dist/doc/latex/numericplots/src/TechnicalDetails.tex b/Master/texmf-dist/doc/latex/numericplots/src/TechnicalDetails.tex
index f60ba99e253..9b5bdb7df1e 100644
--- a/Master/texmf-dist/doc/latex/numericplots/src/TechnicalDetails.tex
+++ b/Master/texmf-dist/doc/latex/numericplots/src/TechnicalDetails.tex
@@ -24,7 +24,7 @@
The following example shows some possibilities to format the axis labels and the
tick labels. The example is not intended to be pretty nor useful in any other
-way than just showing some labels.
+way than just showing some labels. More examples of customized tick labels are listed in Sec.~\ref{sec:CustomTickLabels}.
\input{examples/LabelsNTickLabels}
diff --git a/Master/texmf-dist/doc/latex/numericplots/src/examples/furtherEx_TickLabels.tex b/Master/texmf-dist/doc/latex/numericplots/src/examples/furtherEx_TickLabels.tex
index 79f047b1336..4b42a10ca74 100644
--- a/Master/texmf-dist/doc/latex/numericplots/src/examples/furtherEx_TickLabels.tex
+++ b/Master/texmf-dist/doc/latex/numericplots/src/examples/furtherEx_TickLabels.tex
@@ -5,10 +5,10 @@
\plotxAxis[NoTickLabel]{x-axis label}
\plotyAxis[NoLabel, NoTickLabel]{y-axis label}
- \PutTickLabelXaxis[x=1.2]{test}
+ \PutTickLabelXaxis[x=1.2, ax=lower]{test}
\PutTickLabelXaxis[x=1.1, ax=upper]{test1}
- \PutTickLabelYaxis[y=80]{test}
+ \PutTickLabelYaxis[y=80, ax=left]{test}
\PutTickLabelYaxis[y=100, ax=right]{test1}
diff --git a/Master/texmf-dist/doc/latex/numericplots/src/examples/multiplots_exampleIII.tex b/Master/texmf-dist/doc/latex/numericplots/src/examples/multiplots_exampleIII.tex
new file mode 100644
index 00000000000..5be87bb1b14
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/numericplots/src/examples/multiplots_exampleIII.tex
@@ -0,0 +1,24 @@
+\newpsstyle{Database}{linecolor=LineColorA, linestyle=none, dotstyle=*,
+showpoints=true, dotsize=5pt}
+\newpsstyle{Result}{linecolor=LineColorB, linestyle=none, dotstyle=+,
+showpoints=true, dotsize=10pt}
+
+\begin{NumericDataPlot}{\textwidth}{0.25\textheight}
+
+ % --- definition of the axis and the grid ---
+ \setxAxis{xMin=2, xMax=17, Dx=4}
+ \setyAxis{yMin=20, yMax=70, Dy=20}
+
+ % plot the axis of the lower left corner
+ \plotxAxis[LabelRot=15]{Stichnummer}
+ \plotyAxis[LabelRot=30, LabelRefPt=tr]{$F_{roll}$ in $\si{\mega\newton}$}
+
+ \listplot[style=Database]{\DataA}
+
+ % define a second y-axis
+ \setyAxis{yMin=40, yMax=90, Dy=20}
+ \plotyAxis[AxisStyle=Right, NoGrid, LabelRot=90]{$F_{roll}$}
+
+ \listplot[style=Result]{\DataA}
+
+\end{NumericDataPlot} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/numericplots/src/history.tex b/Master/texmf-dist/doc/latex/numericplots/src/history.tex
index 888f2840a10..50fa0fca5c6 100644
--- a/Master/texmf-dist/doc/latex/numericplots/src/history.tex
+++ b/Master/texmf-dist/doc/latex/numericplots/src/history.tex
@@ -159,4 +159,13 @@ height parameter to set the object height. Now, the given height parameter is co
\begin{itemize}
\item changed implementation of subgrids for logarithmic axes
\end{itemize}
+ \item 04.06.2013
+ \begin{itemize}
+ \item corrected and added documentation concerning the use of \verb|PutTickLabelXaxis| and \verb|PutTickLabelYaxis| for customized tick labels
+ \end{itemize}
+ \item 18.09.2013
+ \begin{itemize}
+ \item corrected error ocurring for xLog and yLog labels. In some occasions
+ Latex wrote $10^{-0}$ instead of $10^{0}$.
+ \end{itemize}
\end{itemize}
diff --git a/Master/texmf-dist/doc/latex/numericplots/src/keys_NumericDataPlot.tex b/Master/texmf-dist/doc/latex/numericplots/src/keys_NumericDataPlot.tex
index c7abbaee6b5..0d685e92058 100644
--- a/Master/texmf-dist/doc/latex/numericplots/src/keys_NumericDataPlot.tex
+++ b/Master/texmf-dist/doc/latex/numericplots/src/keys_NumericDataPlot.tex
@@ -45,15 +45,17 @@ Rot&NumericDataPlot&put&ordinary&0\\
LabelPos&NumericDataPlot&putxLabel&command&[none]\\
LabelOption&NumericDataPlot&putxLabel&command&[none]\\
LabelOrientation&NumericDataPlot&putxLabel&command&[none]\\
+LabelRot&NumericDataPlot&putxLabel&command&[none]\\
+LabelRefPt&NumericDataPlot&putxLabel&command&[none]\\
LabelPos&NumericDataPlot&putyLabel&command&[none]\\
LabelOption&NumericDataPlot&putyLabel&command&[none]\\
LabelOrientation&NumericDataPlot&putyLabel&command&[none]\\
+LabelRot&NumericDataPlot&putyLabel&command&[none]\\
+LabelRefPt&NumericDataPlot&putyLabel&command&[none]\\
LabelSep&NumericDataPlot&putxLabel&ordinary&\origXLabelSep \\
LabelSep&NumericDataPlot&putyLabel&ordinary&\origYLabelSep \\
ax&NumericDataPlot&putxLabel&choice&[none]\\
ax&NumericDataPlot&putyLabel&choice&[none]\\
-LabelRefPt&NumericDataPlot&putxLabel&ordinary&[none]\\
-LabelRefPt&NumericDataPlot&putyLabel&ordinary&[none]\\
x&NumericDataPlot&putxTickLabel&ordinary&[none]\\
y&NumericDataPlot&putyTickLabel&ordinary&[none]\\
TickLabelRefPt&NumericDataPlot&putxTickLabel&ordinary&[none]\\