Using the following code:
\begin{tikzpicture}
\begin{axis}[
xmin=0, xmax=4, ymin=0, ymax=10,
width=9cm, height=6cm,
legend style={draw=none}]
\addplot[only marks,color=red] coordinates {
(0, 10) (0.5, 8.5) (1, 2) (2, 0.5) (3.5, 1.9)};
\addlegendentry{Experimental Data Point}
\end{axis}
\end{tikzpicture}
I am getting the image:
The symbol in the legend is a bit close to the legend text for my taste. Is there anyway to increase the spacing between the two?
Best Answer
According to the
pgfplots
manual,Thus, you can increase the
column sep
of thelegend style
to achieve the desired effect.Code
Output