[Tex/LaTex] Show and hide the logo in beamer

beamer

I'm realizing my first presentation in beamer. I'm using the CambridgeUS theme, and I want to

  • show the logo of my institute in the center of the first frame
  • hide the logo in the following frame

For now, my document looks like this:

\documentclass{beamer}
\usetheme{CambridgeUS}
\title{The Title}
\author{The Author}
\institute{The Institute}
\date{The Date}
\logo{\includegraphics[width=3cm]{TheLogo}}
\begin{document}
\begin{frame}
The Frame
\end{frame}
\end{document}

which show the logo on the right in every frame.
What have I to edit / add to reach my goals?

Best Answer

Instead of using \logo, use \titlegraphic; the former will place the logo in all frames and in the bottom right; the latter places the logo just in the title page and centered at the bottom:

\documentclass{beamer}
\usetheme{CambridgeUS}

\title{The Title}
\author{The Author}
\institute{The Institute}
\date{The Date}

\titlegraphic{\includegraphics[width=3cm]{example-image-a}}

\begin{document}

\begin{frame}
\maketitle
\end{frame}

\begin{frame}
test
\end{frame}

\end{document}

enter image description here