I would like to maintain some consistency between TikZ and PGFplots, and have run into numerous difficulties. Here is an example of two of them:
I would like to be able to use something similar to the TikZ
\coordinatein PGF. So, ideally I would like to comment out the line in the 2nd graph and replace it with the un-commented line. i.e, be able to use a defined coordinate, rather than having to enter the specific coordinate.I would like to have the two circles of the same size independent of how I am doing the graph. In the 2nd example, I multiplied the
\Radiusby 20 and still the dot is not even close to the same size.
Perhaps there are better ways to do this, but I am newbie with these...
\documentclass{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\def\Radius{0.1}
\def\Label{$(1,1)$}
\begin{document}
\begin{tikzpicture}
\coordinate (Point) at (1,1);
\draw [gray] (0,0) grid (3,3);
\draw [blue,fill] (Point) circle (\Radius) node [right] {\Label};
\end{tikzpicture}
\begin{tikzpicture}
\coordinate (Point) at (1,1);
\begin{axis}[xmin=0,xmax=3, ymin=0,ymax=3]
\addplot [blue,fill] coordinates{ (1,1) }
circle (20*\Radius) node [right] {\Label};
% would prefer to use this instead:
%\addplot [blue,fill] coordinates{ (Point) }
% circle (20*\Radius) node [right] {\Label};
\end{axis}
\end{tikzpicture}
\end{document}


\def\Radius{2pt}. – Gonzalo Medina Apr 13 '11 at 01:41\def\Radius{2pt}and the point shows on both cases with the same radius. – Gonzalo Medina Apr 13 '11 at 03:08axisenvironment, or only some handpicked ones? Do you want to use them as data points in actual plots, or only to annotate a plot? – Jake Apr 14 '11 at 08:26(0.5,1.5)in the code, I'd prefer to see a name that has some meaning such as(Vertex),(CorrdinateOfLabel), etc. – Peter Grill Apr 14 '11 at 09:03