# Cropping figures in latex

Image you have a figure, but it just needs a bit of tweaking. Fear not! the following will do all the magic for you:

\usepackage{graphicx}
...
\begin{figure}[htbp]
    \begin{center}
        \includegraphics[trim=left bottom right top, clip]{file}
    \caption{default}
    \label{default}
    \end{center}
\end{figure}

, where the default units of trim are big points (bp). For example:
trim=1200 400 1500 1500, clip]

I recommend you start small (say 100) and then go up from there, depending on the need.
Taken from here.

Advertisements