I have a file statistics.dat with measurements I made. It has the format
node Mean StdDev
1 11862.4 142.871
2 11722.4 141.330
[...]
I can make a sorted graph with plot '< sort -n -k2 statistics.dat' u 2
Now I want to add error bars to my plot. When I use plot 'statistics.dat' u 1:2:3 w errorbars The sorting is obviously lost since gnuplot uses the x- and y-value as coordinates.
Is there a way to plot a sorted graph with errorbars? Or do I need to sort my data and add new x-values according to the sorded position?