aboutsummaryrefslogtreecommitdiff
path: root/tex/delete-me-wfpc2.tex
blob: 95b3105c016aa4b3373956f9313b34283be64eb2 (plain)
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
\begin{tikzpicture}

  %% The displayed WFPC2 image.
  \node[anchor=south west] (img) at (0,0)
       {\includegraphics[width=0.5\linewidth]
         {\bdir/tex/delete-me-wfpc2/wfpc2.pdf}};

  %% Its label
  \node[anchor=south west] at (0.45\linewidth,0.45\linewidth)
       {\textcolor{white}{a}};

  %% This histogram.
  \begin{axis}[at={(0.52\linewidth,0.1\linewidth)},
      no markers,
      axis on top,
      xmode=normal,
      ymode=normal,
      yticklabels={},
      scale only axis,
      xlabel=Pixel value,
      width=0.5\linewidth,
      height=0.412\linewidth,
      enlarge y limits=false,
      enlarge x limits=false,
      ]
    \addplot [const plot mark mid, fill=red]
    table [x index=0, y index=1]
    {\bdir/tex/delete-me-wfpc2/wfpc2-hist.txt}
    \closedcycle;
  \end{axis}

  %% The histogram's label
  \node[anchor=south west] at (0.95\linewidth,0.45\linewidth) {b};
\end{tikzpicture}