\begin{tikzpicture} \begin{axis}[ scale only axis, height=\textwidth)/4, width=\textwidth, axis equal, xmin=0, xmax=4, ymin=0, ymax=1, x tick label style={/pgf/number format/.cd, use comma}, y tick label style={/pgf/number format/.cd, use comma}, point meta=explicit, colorbar, colormap/RdYlBu-4, colormap={reverse RdYlBu-4}{ indices of colormap={ \pgfplotscolormaplastindexof{RdYlBu-4},...,0 of RdYlBu-4 } }, colorbar horizontal, colorbar style={ /pgf/number format/precision=2, /pgf/number format/use comma, at={(0.5,-0.2)}, anchor=north, width=0.5*\pgfkeysvalueof{/pgfplots/parent axis width}, y unit=m/s, y label style={ at={(axis description cs:1.3,0.5)}, rotate=-90, anchor=east } }, scatter/use mapped color={color=mapped color} ] \addplot[scatter,only marks] table[ x=x, y=y, meta=ux, col sep=comma ] {img/data/poiseuille2d_refined_re10_n10_grid.csv}; \end{axis} \end{tikzpicture}