Colors and markers in grouped plot

I really appreciate the grouped plot from StatPlots.jl, in particular since this PR (adjusting group legend lables nicely) has been merged.

However, typically I want to group and plot data according to, let’s say, two column :T and :L but also specify colors and markers for groups. For example, The color of the group should be chosen according to the :T value and the marker style according to the :L value of a datapoint.

Example:

Curves with same :T have same color. Curves with same L have same markers.

Is there a nice way to achieve that using Plots.jl/StatPlots.jl?

Thanks in advance!

1 Like