I have an axis
environment in PGFplots
with multiple graphs which
correspond to certain group of data types. I want to stress this
distinction by grouping the legend entries. In particular, using a
legend with multiple columns. However, the different groups do not each
have the same number of graphs, which would result in multiple columns
of different lenghts in the legend. But how do I do this in PGFplots
?
For example, how do I get a legend like
1 3 4
2 5