Debian Codegraph @

texmf-dist/doc/latex/numericplots/src/MultiplePlots.tex

raw
1 % Copyright 2010 Thomas Koenig, Alexander Michel
2 %
3 % This file is part of NumericPlots.
4 %
5 % NumericPlots is free software: you can redistribute it and/or modify
6 % it under the terms of the GNU General Public License as published by
7 % the Free Software Foundation, either version 3 of the License, or
8 % any later version.
9 %
10 % NumericPlots is distributed in the hope that it will be useful,
11 % but WITHOUT ANY WARRANTY; without even the implied warranty of
12 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 % GNU General Public License for more details.
14 %
15 % You should have received a copy of the GNU General Public License
16 % along with NumericPlots. If not, see <http://www.gnu.org/licenses/>.
17
18
19 \section{Multiple plots in one picture}\label{sec:MultiplePlots}
20
21 xPicMin, xPicMax, yPicMin and yPicMax are the inner coordinates of one picture.
22 The position of the axes are defined in this coordinate system via xCoordMin,
23 xCoordMax, yCoordMin and yCoordMax.
24
25 Example:
26
27
28 \lstinputlisting[firstline=8]{examples/multiplots_exampleI}
29
30 \input{examples/multiplots_exampleI}
31
32
33 An example with different y-axes on the left and on the right side:
34
35 \lstinputlisting{examples/multiplots_exampleII}
36
37 \input{examples/multiplots_exampleII}
38
39
40 It is also possible to rotate the labels of the axes (LabelRot and LabelRefPt
41 have to be set after AxisStyle!):
42
43 \lstinputlisting[firstline=12, lastline=20]{examples/multiplots_exampleIII}
44
45 \input{examples/multiplots_exampleIII}