0
I am creating some Listplots of some data with the following bit of code:
bbbarexpmasses = {{1, 9.4449}, {2, 9.8999}, {3, 10.023}, {4,
10.163}, {5, 10.260}, {6, 10.355}, {7, 10.579}}
bbbartheorymasses = {{1, 9.4258128}, {2, 9.884308}, {3,
9.9751791}, {4, 10.145617}, {5, 10.270137}, {6, 10.197768}, {7,
10.430176}}
BBbarcomparison =
ListPlot[{bbbarexpmasses, bbbartheorymasses},
PlotMarkers -> {Automatic, Medium}, ImageSize -> Large,
Frame -> All,
Ticks -> {{{1, "1S"}, {2, "1P"}, {3, "2S"}, {4, "1D"}, {5,
"2P"}, {6, "3S"}, {7, "4S"}}, {9.4449, 9.8999, 10.023, 10.163,
10.260, 10.355, 10.579}}]
which works fine and produces the following plot:
But now I would like to have the PlotMarkers to be wider, more like the markers in this plot.
Is there an option in Mathematica to do something like this? Thanks.
BarChart
in my opinion, that should make this type of plot easier. You can then useChartElementFunction
to draw the lines $\endgroup$