I would like to create a graph like this one using gnuplot (or matplotlib, if need be), but I don't know if/how it can be done:
This, of course, is just a rough sketch. What is important is that I need to plot pairs of values (in this example, each pair consists of a red and a blue dot). One item from each pair is a single value, the other one is supposed to show a range of values (my idea was to plot the mean value with error bars to indicate the range's max and min, but I'm open to better ideas). The x-axis has no purpose other than giving the names of the various categories–all that matters are the y-values.
I am pretty sure I could create something like this (value pairs and x-categories) using histograms, but boxes just strike me as wrong in this case.
What I have got so far: I have this gnuplot command:
plot 'TEST.out' using 0:2:3:xticlabel(1) w errorbars pt 7 notitle
Used with this data file (category name, y-value, error bar value):
cat1 15 0
cat1 18 3
cat2 13 0
cat2 10 4
it yields below plot, which goes in the right direction, but which is not yet ideal (all data points have the same colour, and for the single values you can still see that error bars were used; also the grouping isn't very nice–if the two points making up one pair were closer to each other that would make the plot easier on the eye).
If anyone has any suggestions (even for creating a graph that does not look exactly like the example I gave in the beginning). I would be very grateful.
Thanks a lot for your time!