\documentclass[dvipdfmx]{beamer} \usepackage{tikz}
\tikz{TikZの文1; TikZの文2;} \begin{tikzpicture} TikZの文1; TikZの文2; \end{tikzpicture}
\draw[thick] (0,1) circle (3pt);
\draw (-0.5,-0.5) rectangle (1,1);
\draw[thick,rounded corners=40pt] (2,1.5)--(9,1.5)--(9,4.5)--(2,4.5)--cycle;
\draw[very thick,domain=-2.5:3.2,samples=100] plot(\x,{\x^3/3 - 3*\x})node[right]{$y=f(x)$};
\draw[very thick,domain=-.5:9,samples=100] plot(\x,{sin(2*\x r) + \x});
\filldraw[fill=yellow,thick] (0,0)--(0,1)--(1,1)--(1,0)--cycle;
\fill[yellow] (0,0)--(0,1)--(1,1)--(1,0)--cycle; \draw[thick] (0,0)--(0,1)--(1,1)--(1,0)--cycle;
\fill[red]plot[domain=.5:2,smooth](\x,{\x*(\x-2)*(\x-3)})--(.5,0);
\begin{tikzpicture}[scale=2] ... \end{tikzpicture}
\scalebox{横の倍率}{\begin{tikzpicture}...\end{tikzpicture}}