Let’s say I have a dataframe I want to plot. I know that I can use the keyword argument
group to select a column and to have a grouping for the different cases. But what if I would like to manually group together different cases, e.g. group cases
B and cases
Many thanks in advance.
using DataFrames, Plots DF = DataFrame(x = 1:4, y = rand(4),cases=["A","B","C","D"]) # These are the plotting data plot(DF.x,DF.y, group=DF.cases,seriestype = :scatter)