I'm trying to remove all the unecessary space, but I don't know how to proceed here, I already done what is possible to delete all blank space of the graph (the figure starts at the edge of the chart). Does anyone know how to remove or decrease this space?
\begin{figure}[ht]
\includegraphics[width=0.4\textwidth]{figures/pontosdesejados.pdf}\centering
\caption{$r$ fixed points}
\label{desiredpoints}
\end{figure}



\includegraphicsline, and on another line,\vspace{-6pt}or whatever negative value you find gives the spacing you prefer. – barbara beeton Jul 05 '19 at 14:35