0

Say I have the following figure, which I want to add symbols on to:

enter image description here

The largest black square has dimensions -1 to 1 along the two edges. I want to place a triangle-symbol at the point (0.5, 0.5).

How is it possible to do this in either TikZ or PStricks? The first part is loading in the image and placing a symbol there, the other aspect is getting the location right.

BillyJean
  • 1,743
  • 2
    Related (if not duplicate of): https://tex.stackexchange.com/questions/9559/drawing-on-an-image-with-tikz – Ignasi Jun 11 '18 at 17:04

1 Answers1

2
\documentclass[tikz,border=3.14mm]{standalone}
\usetikzlibrary{plotmarks}
\begin{document}
\begin{tikzpicture}
\node at (0,0) {\includegraphics[width=2cm,height=2cm]{example-image}};
\node[blue] at (0.5,0.5) {\pgfuseplotmark{triangle}};
\end{tikzpicture}
\end{document}

enter image description here