I am using LaTeX for writing a lab report for my Physics class and I have added a graph to my report as a figure using the following lines:
\begin{figure}[H]
\centering
\includegraphics[scale=0.7]{Lab Report 1/mvsT.png}
\caption{Mass of bob vs Time period of oscillation graph}
\end{figure}
And the final output of the caption is as follows:
Figure 4: Mass of bob vs Time period of oscillation graph
Now I want to change it so that instead of saying 'Figure 4', it says 'Graph 1'. I was wondering if that was possible by using a \begin{figure} command or if I would have to use some other function for this specific case.
For reference, I am a beginner to LaTeX; therefore, it would be really helpful if the responses aren't too technical in nature, thank you.

documentclassand packages are you using? Could you edit a compilable document into your question please as the solution is easy but depends on your packages and document class – JamesT Feb 12 '23 at 17:02