I'm creating a scatter plot with pgfplots. I want circular marks with opacity=0.1. Here's a MWE:
\documentclass{article}
\usepackage{pgfplots}
\pgfplotsset{compat=1.14}
\usepackage{filecontents}
\begin{filecontents}{data.dat}
0 0
0.25 0.25
0.5 0.5
0.75 0.75
1 1
\end{filecontents}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot[
only marks,
mark size = 10,
blue,
opacity=0.1,
mark=*,
]
table{data.dat};
\end{axis}
\end{tikzpicture}
\end{document}
The output looks okay at first glance: .
The problem becomes apparent however when you zoom in on one of the marks:
How do I get rid of the darker ring near the outside edge? I want marks that are uniform. I have tried adding
scatter/use mapped color={draw opacity=0,fill=mapped color},
and
scatter/use mapped color={draw=mapped color,fill=mapped color},
to my \addplot
options as suggested here and here but with no success.
Best Answer
Using simply
draw opacity=0
works perfectly fine for me.