Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question

marked as duplicate by Werner, Ignasi, Claudio Fiandrino, Martin Schröder, Guido Jan 8 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.

    
I think answers to Drawing on an image with TiKZ will help you. –  Ignasi Jan 8 at 15:11

1 Answer 1

up vote 4 down vote accepted

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

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

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

share|improve this answer

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