[Tex/LaTex] How to move image upwards to fit on slide

beamerformattinggraphics

I have this example

\documentclass{beamer}

\mode<presentation>
{
  \usetheme{Boadilla}     
  \usecolortheme{wolverine}
  \usefonttheme{structurebold}  
  \setbeamertemplate{navigation symbols}{}
  \setbeamertemplate{caption}[numbered]
\setbeamertemplate{itemize items}[ball]
} 

\usepackage{array,amsmath,booktabs}
\usepackage{amsmath}
\usepackage[version=4]{mhchem}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{subcaption}
\usepackage{mwe} % for blindtext and example-image-a in example
\usepackage{wrapfig}


\begin{document}


\begin{frame}{Inference}

\begin{itemize}
\item Independent gamma priors:
\end{itemize}
\begin{gather*}
 \pi(c) = \prod\limits_{j=1}^v \pi(c_j), \quad c_j \sim Ga(a_j, b_j), \; j=1,...,v
\end{gather*}
\begin{itemize}
\item Prior combined with our likelihood gives us updated posteriors:
\end{itemize}
\begin{gather*}
c_j|\mathbf {x} \sim Ga\Big(a_j+r_j,b_j+\int_0^Tg_j(x(t))\,dt \Big), \; j=1,..,v
\end{gather*}
\begin{columns}
 \column{0.5\textwidth}\centering
\begin{itemize}
\item Simulate our system to get perfect information
\item Graph shows simulated data for 300 reactions of our Micahelis-Menten model
\end{itemize}
 \column{0.5\textwidth}\centering
\begin{figure}
\includegraphics[width=0.8\linewidth]{C:/Users/Acer/Desktop/PresentationGraphics/Simulateddatagraph.pdf}
%  \captionof{figure}{Simulated data for 300 reactions\label{fig:boat1}}
\end{figure}
\end{columns}
\end{frame}

 \end{document}

And my image just doesn't fit on the slide. I don't want to make my image smaller because then people wont be able to see it.

I have tried text wrapping my image but that doesn't seem to work either.

I have also tried searching for a similar question but I really couldn't find anything that helped.

Best Answer

it seems that your image is to height ... with example image from graphicx package and rewriting your frame i managed to show complete image on slide:

enter image description here

\documentclass{beamer}

\mode<presentation>
{
  \usetheme{Boadilla}
  \usecolortheme{wolverine}
  \usefonttheme{structurebold}
  \setbeamertemplate{navigation symbols}{}
  \setbeamertemplate{caption}[numbered]
\setbeamertemplate{itemize items}[ball]
}

\usepackage{array,amsmath,booktabs}
\usepackage{amsmath}
\usepackage[version=4]{mhchem}
\usepackage{mathtools}
\usepackage{subcaption}
%\usepackage{mwe} % for blindtext and example-image-a in example
\usepackage{wrapfig}

\begin{document}

\begin{frame}{Inference}
    \begin{itemize}% <--- changed
\item Independent gamma priors:
\[
 \pi(c) = \prod\limits_{j=1}^v \pi(c_j), \quad c_j \sim Ga(a_j, b_j), \; j=1,...,v
\]
\item Prior combined with our likelihood gives us updated posteriors:
\[
c_j|\mathbf {x} \sim Ga\Big(a_j+r_j,b_j+\int_0^Tg_j(x(t))\,dt \Big), \; j=1,..,v
\]
    \end{itemize}

\begin{columns}
 \column{0.5\textwidth}\centering
    \begin{itemize}
\item Simulate our system to get perfect information
\item Graph shows simulated data for 300 reactions of our Micahelis-Menten model
    \end{itemize}
 \column{0.5\textwidth}\centering
\begin{figure}
\includegraphics[width=0.8\linewidth]{example-image-a}%{C:/Users/Acer/Desktop/PresentationGraphics/Simulateddatagraph.pdf}
%  \captionof{figure}{Simulated data for 300 reactions\label{fig:boat1}}
\end{figure}
\end{columns}

\end{frame}
\end{document}