我对 LaTeX 还很陌生,这是我在这个网站上的第一篇文章。几周后我要做一个重要的演讲,我非常需要你的帮助。
我导出 Geogebra 代码用于我的图表,对于我这个业余爱好者来说,这要容易得多。嗯,它对于框架来说太大了。我尝试了我能在这个网站上找到的所有方法,但似乎都没有用。
这是我的框架代码:
\begin{frame}
\frametitle{Why do we care about the area under the curve?}
\definecolor{cqcqcq}{rgb}{0.75,0.75,0.75}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm]
\draw [color=cqcqcq,dash pattern=on 320pt off 320pt, xstep=0.5cm,ystep=200.0cm] (-0.82,-100) grid (2.18,1100);
\draw[->,color=black] (-0.82,0) -- (2.18,0);
\foreach \x in {-0.5,0.5,1,1.5,2}
\draw[shift={(\x,0)},color=black] (0pt,2pt) -- (0pt,-2pt) node[below] {\footnotesize $\x$};
\draw[->,color=black] (0,-100) -- (0,1100);
\foreach \y in {,200,400,600,800,1000}
\draw[shift={(0,\y)},color=black] (2pt,0pt) -- (-2pt,0pt) node[left] {\footnotesize $\y$};
\draw[color=black] (0pt,-10pt) node[right] {\footnotesize $0$};
\clip(-0.82,-100) rectangle (2.18,1100);
\draw[line width=1.2pt, smooth,samples=100,domain=0.0:2.181034482758621] plot(\x,{915});
\draw (0.06,1066.88) node[anchor=north west] {Figher Jets at supersonic speed starts at 915 miles per hour.};
\end{tikzpicture}
\end{frame}