This question already has an answer here:

I include a PNG picture using the \includegraphics command and it looks like this:

enter image description here

Would it be possible to modify it in LaTeX by including a legend and tick markers on the axis as well? Or a text box say next to a given plot?

marked as duplicate by Werner, Ignasi, Claudio Fiandrino, Martin Schröder, Guido Jan 8 '14 at 15:56

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


A rather brute force way of doing it in latex would be to use the tikz package, where you could do:

    \node[anchor=south west] {\includegraphics[]{your_graphic.png}};
    \node at (0,0) {$0$};
    \draw (0,0) grid (10,10);

this way you could draw and write stuff on the image. The problem is you have to figure out the coordinates for the different points for which the grid may help.

The more easy solution would probably be to use a graphics program like Inkscape which would allow you to write text and add lines using the mouse. Inkscape also supports multiple exports one of which is eps and eps+latex which gives you latex typeset text.

Hope this helps

Not the answer you're looking for? Browse other questions tagged or ask your own question.