I want to creat a ybar chart with evenly spaced bars instead like in the first example spaced by the used values. I thought using symbolic x coords could be used for this, but using this produces lots of errors like
Package pgfplots Error: Sorry, the input coordinate `1.0' has not been define like [normalized]1.0?. ...table[x index=0, y index=1]{\loadedtable};
\documentclass{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\begin{document}
\pgfplotstableread{
Note Anzahl
1.0 1
1.3 1.3
1.7 1.7
2.0 2
2.3 2.3
2.7 2.7
3.0 3
3.3 3.3
3.7 3.7
4.0 4
4.7 4.7
5.0 5
}\loadedtable
%Looks good but the spacing is wrong
\begin{tikzpicture}
\begin{axis}[xtick=data, x=15ex, bar width=3ex, xticklabels={{1,0},{1,3},{1,7},{2,0},{2,3},{2,7},{3,0},{3,3},{3,7},{4,0},{4,7},{5,0}},]
\addplot[ybar] table[x index=0, y index=1]{\loadedtable};
\end{axis}
\end{tikzpicture}
%Here the error occurs
\begin{tikzpicture}
\begin{axis}[xtick=data, x=15ex, bar width=3ex, symbolic x coords={{1,0},{1,3},{1,7},{2,0},{2,3},{2,7},{3,0},{3,3},{3,7},{4,0},{4,7},{5,0}},]
\addplot[ybar] table[x index=0, y index=1]{\loadedtable};
\end{axis}
\end{tikzpicture}
\end{document}


symbolic x coordshas to match the input exactly, there is no1.0in your list of symbolic x coords. Plus I do not quite understand the values you give it. – daleif Feb 15 '18 at 10:04minimalclass, it is not well suited for much. Thestandaloneclass might be better – daleif Feb 15 '18 at 10:06