I'm creating a ListPlot where I plot many data sets simultaneously. Currently, my code that produces it is something like this:
ListPlot[alldat, PlotStyle -> "Rainbow", PlotLegends -> SwatchLegend["Rainbow", flist]]
Where alldat is my list of data sets, and flist is a list of their names (corresponding to alldat, so in the same order).
This produces this:
The important part I'm asking about is the legend, and the labeling colors. This graph only has 10 curves and already it's getting pretty hard for me to differentiate between some of them (I can do it but I have to squint and concentrate for a minute). I know that at some point I'm just going to crowd the plot so much it won't matter what color or pattern they are, but I'd like to go up to maybe 20 curves.
How can I plot them and label them clearly so I can tell them apart? Maybe only use 5 different colors, but 4 times of pattern or something (solid, dashed, dot dashed, dotted). I know I could list out all the things separately but I want something that will automatically work for a variable amount of curves.
Is there a clever way to do this?
ListPlot
andJoined->False
as the default. See how some of your data series (e.g. that green one) have breaks in them? $\endgroup$