# Insert graphs and text side by side

I wanna know how can I draw graphs and arrows with text, side by side in Beamer as shown in the figure of this question Drawing arrows in beamer

Can someone post the code?

• Do you need to reproduce the same frame with 3 graphs? – Claudio Fiandrino Jul 7 '12 at 6:38
• @ClaudioFiandrino Yes – Saadia Jul 7 '12 at 6:39
• You can use minipages to contain figures/text that needs to be placed side by side. – Peter Grill Jul 7 '12 at 6:41

Here is a simple example, based on Drawing arrows in beamer, that uses the columns environment. The final output is:

The code:

\documentclass{beamer}
\usepackage{lmodern}
\usepackage{pgfplots}
\pgfplotsset{width=4.75cm,compat=newest} % to fix the width and pgfplots version
\tikzset{every mark/.append style={scale=0.4}} % to reduce mark size
\usetikzlibrary{shapes.arrows}

\tikzset{
myarrow/.style={
draw,
fill=orange,
single arrow,
minimum height=3.5ex,
}
}
\newcommand{\arrowup}{%
\tikz [baseline=-0.5ex]{\node [myarrow,rotate=90] {};}
}
\newcommand{\arrowdown}{%
\tikz [baseline=-1ex]{\node [myarrow,rotate=-90] {};}
}

\begin{document}

\begin{frame}{My graphs}
\begin{columns}
\begin{column}{0.2\textwidth}
% Text
\tiny
\begin{tabular}{rc}
Thermal Grashof number & \arrowup\\[1ex]
Velocity & \arrowup\arrowdown\\[1ex]
Temperature & \arrowdown\\[1ex]
Solutal boundary layer thickness & \arrowdown\\
\end{tabular}
\end{column}
\hspace{0.15\textwidth} % needed to compensate the arrows space
\begin{column}{0.8\textwidth}
% Graphs
\centering
\begin{tikzpicture}
\begin{axis}[xticklabel style={font=\tiny},
yticklabel style={font=\tiny}]
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[xticklabel style={font=\tiny},
yticklabel style={font=\tiny}]
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[xticklabel style={font=\tiny},
yticklabel style={font=\tiny}]

The approach is strongly dependent on the theme chosen; themes with a sidebar, i.e. PaloAlto, reduces the available space so the dimensions of the graphs and/or of the column environments should be reconsidered.