-
Notifications
You must be signed in to change notification settings - Fork 0
/
figures.tex
74 lines (63 loc) · 3.3 KB
/
figures.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
% $Id: figures.tex 34630 2013-04-29 22:53:51Z roldeman $
% ===============================================================================
% Purpose: including figures in the standard template
% Author: Tomasz Skwarnicki, Ulrik Egede
% Created on: 2010-09-24
% ===============================================================================
\section{Figures}
\label{sec:Figures}
A standard \lhcb style file for use in production of figures in \root
is in the \urania package \texttt{RootTools/LHCbStyle} or directly in
\svn at
\texttt{svn+ssh://svn.cern.ch/reps/lhcb/Urania/trunk/RootTools/LHCbStyle}. It
is not mandatory to use this style, but it makes it easier to follow
the recommendations below.
Figure~\ref{fig:example} shows an example of how to include an eps
or pdf figure with the \texttt{\textbackslash includegraphics} command
(eps figures will not work with \texttt{pdflatex}). Note that if the
graphics sits in \texttt{figs/myfig.pdf}, you can just write
\texttt{\textbackslash includegraphics\{myfig\}} as the \texttt{figs}
subdirectory is searched automatically and the extension \texttt{.pdf}
(\texttt{.eps}) is automatically added for \texttt{pdflatex}
(\texttt{latex}).
\begin{figure}[tb]
\begin{center}
\includegraphics[width=0.49\linewidth]{Example1DPlot-python-1}\put(-32,133){(a)}
\includegraphics[width=0.49\linewidth]{Example1DPlot-python-1_sim}\put(-32,133){(b)}
\vspace*{-1.0cm}
\end{center}
\caption{
\small %captions should be a little bit smaller than main text
Example plots for (a) data and (b) simulation using the \lhcb style from the \urania package
\texttt{RootTools/LHCbStyle}. The signal data is shown as points
with the signal component as yellow (light shaded), background 1 as green
(medium shaded) and background 2 as blue (dark shaded).}
\label{fig:example}
\end{figure}
\begin{enumerate}
\item Figures should be legible at the size they will appear in the
publication, with suitable line width. Their axes should be
labelled, and have suitable units (e.g. avoid a mass plot with
labels in MeV$/c^2$ if the region of interest covers a few GeV$/c^2$
and all the numbers then run together). Spurious background shading
and boxes around text should be avoided.
\item Fit curves should not obscure the data points, and
data points are best (re)drawn over the fit curves.
\item Colour may be used in figures, but the distinction between
differently coloured areas or lines should be clear also when the
document is printed in black and white, for example through
differently dashed lines. The \lhcb style mentioned above implements
a colour scheme that works well but individual adjustments might be
required.
\item Figures with more than one part should have the parts labelled
(a), (b) \etc, with a corresponding description in the caption;
alternatively they should be clearly referred to by their position,
e.g. Fig.~1\,(left). In the caption, the labels (a), (b) \etc should
precede their description.
\item All figures containing \lhcb data should have \lhcb written on
them. For preliminary
results, that should be replaced by ``LHCb preliminary''.
Figures that only have simulated data should display ``LHCb simulation''.
Figures that do not depend on LHCb-specific software (\eg only on \pythia)
should not have any label.
\end{enumerate}