aboutsummaryrefslogtreecommitdiff
path: root/tex/src/delete-me-demo.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/src/delete-me-demo.tex')
-rw-r--r--tex/src/delete-me-demo.tex34
1 files changed, 34 insertions, 0 deletions
diff --git a/tex/src/delete-me-demo.tex b/tex/src/delete-me-demo.tex
new file mode 100644
index 0000000..8174bc8
--- /dev/null
+++ b/tex/src/delete-me-demo.tex
@@ -0,0 +1,34 @@
+\begin{tikzpicture}
+
+ %% The displayed WFPC2 image.
+ \node[anchor=south west] (img) at (0,0)
+ {\includegraphics[width=0.5\linewidth]
+ {tex/pipeline/delete-me-demo/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]
+ {tex/pipeline/delete-me-demo/wfpc2-hist.txt}
+ \closedcycle;
+ \end{axis}
+
+ %% The histogram's label
+ \node[anchor=south west] at (0.95\linewidth,0.45\linewidth) {b};
+\end{tikzpicture}