# Setting distance from label to node in TikZ

I drew a point using TikZ and labelled it 'P0'.

\documentclass[a4paper,10pt]{article}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}[scale=1]

\path (0,0) coordinate (P0) node[right]{P0};
\fill (P0) circle (2pt);

\end{tikzpicture}

\end{document}


Now, in the output, the label 'P0' is too close to the point itself. Is there a way to move it further from the point?

-

You can use right=<dimension>

\documentclass[a4paper,10pt]{article}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}[scale=1]

\path (0,0) coordinate (P0) node[right=2cm]{P0};
\fill (P0) circle (2pt);

\end{tikzpicture}

\end{document}


-