I am trying to use the only<1>, only<2>, etc... feature of beamer for a frame. However, when add it to the program, it is not compiling. I would appreciate any help.
Also, how can the titles, "prediction outcomes" and "actual outcomes" be centered rather than left-aligned?
Where is there a list of beamer color options (instead of blue as is in the code)?
How can I make an arrow to point to the cell?
This is continued from: Making a table as a box in beamer in whch 2 cells are highlighted
\documentclass[professionalfont, fleqn]{beamer}
\usepackage{tikz}
\usetikzlibrary{arrows,shapes,positioning,fit,shapes.misc}
\begin{document}
\begin{frame}[fragile]
\centering
\begin{tikzpicture}[
box/.style = {draw,rectangle,minimum size=1.0cm,text width=1cm,align=center}
]
\matrix (conmat) [row sep=0cm,column sep=0cm] {
\node (tpos) [box,label=left:\( \mathbf{p'} \),label=above:\( \mathbf{p} \),] {};
& \node (fneg) [box,label=above:\textbf{n},] {$\checkmark$}; \\
\node (fpos) [box,label=left:\( \mathbf{n'} \),] {$\checkmark$};
& \node (tneg) [box] {$\checkmark$}; \\
};
\node [left=.05cm of conmat,text width=1.5cm,align=center] {\textbf{actual \\ value}};
\node [above=.05cm of conmat] {\textbf{prediction outcome}};
\end{tikzpicture}
\end{frame}
\end{document}
I tried putting the only around the begin{tikzpicture} and end{tikzpicture}.
\only
commands right now. When does it not work? Also there is no arrow now. Can you make it a complete code compatible with the question?\PassOptionsToPackage{svgnames}{xcolor}
at the very start of the document to load the svgnames, for example.