图形未插入

图形未插入

我正在尝试为我的班级做一些练习题,我想插入 RI 中输入的图表

\documentclass[12pt]{article}
\usepackage{graphicx}
\title{Week 1  Practice}
\date{5/30/2018}
\begin{document}
\maketitle

\section{Problem 1}
The following are ages of 62 people who live in a certain neighborhood:
\\
2, 5, 6, 12, 14, 15, 15, 16, 18, 19, 20, 22, 23, 25, 27, 28, 30, 32, 33, 35, 
36, 36, 37, 38, 39,
40, 40, 41, 42, 43, 43, 44, 44, 45, 45, 46, 47, 47, 48, 49, 50, 51, 56, 57, 
58, 59, 59, 60, 62,
63, 65, 65, 67, 69, 71, 75, 78, 80, 82, 84, 90, 96
\subsection{Part A}
\subsection{Part B}
*Code
\begin{itemize}
  \item neighborhood = c(2, 5, 6, 12, 14, 15, 15, 16, 18, 19, 20, 22, 23, 25, 
  27, 28, 30, 32, 33, 35, 36, 36, 37, 38, 39,
             40, 40, 41, 42, 43, 43, 44, 44, 45, 45, 46, 47, 47, 48, 49, 50, 
   51, 56, 57, 58, 59, 59, 60, 62,
             63, 65, 65, 67, 69, 71, 75, 78, 80, 82, 84, 90, 96)
 \item hist(neighborhood)
 \end{itemize}
 \begin{figure}[hbtp]
  \caption{Age}
  \centering
\includegraphics[scale=1,bb=0 0 30 30]{Age.png}
\end{figure}

但是当我输入代码时,图像从未插入到嵌入在 Texmaker 中的 PDF 查看器中,而且 Texmaker 也没有通知我任何错误。我试图解决这个问题 2 个小时,并试图在整个网络上寻求帮助。

相关内容