In the following example I'm using the library plotmarks to set a text on the given path. Now I am interested in showing the current coordinates of the marker instead of p.
\documentclass[12pt]{article}
\usepackage{tikz}
\usetikzlibrary{plotmarks}
\begin{document}
\begin{tikzpicture}
\draw[thick,mark=text,
% text mark=(CURRENT COORDINATE)
] plot [smooth,] coordinates{
(-0.5,0)(-0.7,-0.75) (1.3,1)
(-1.6,0.8) (-1,0)
};
\end{tikzpicture}
\end{document}
Now I'm using the provided solution expanded by a precision:
\documentclass[12pt]{article}
\usepackage{tikz}
\usetikzlibrary{plotmarks}
\begin{document}
\begin{tikzpicture}
\draw[thick,mark=text,
text mark={%
\pgfgetlastxy{\x}{\y}%
(\pgfmathparse{\x/28.45274}\pgfmathprintnumber[fixed,precision=0]{\pgfmathresult},% Convert to cm.
\pgfmathparse{\y/28.45274}\pgfmathprintnumber[fixed,precision=0]{\pgfmathresult})% Convert to cm.
}%
] plot [smooth,] coordinates{
(-0.5,0)(-0.7,-0.75) (1.3,1)
(-1.6,0.8) (-1,0)
};
\end{tikzpicture}
\end{document}




