I would like to create a plot where I have unconnected dots and some connected.
So far, I have figured out how to draw the dots.
My code is the following:
ListPlot[{{1, 1}, {2, 2}, {3, 3}, {4, 4}, {1, 4}, {2, 5}, {3, 6}, {4, 7}, {1, 7}, {2, 8}, {3, 9}, {4, 10}, {1, 10}, {2, 11}, {3, 12}, {4,13}, {2.5, 7}}, Ticks -> {{1, 2, 3, 4}, None}, AxesStyle -> Thin, TicksStyle -> Directive[Black, Bold, 12], Mesh -> Full]
I have thought using ListLinePlot command, but I don't know how to specify to the command to draw only selected lines between the dots.
Do have any suggestions/hints on how to do that?
Thank you.
ListPlot
:Epilog -> {Line[ <list of points to join> ]}
. $\endgroup$Prolog
, if you want the line to go under the points. $\endgroup$