I am plotting Arctic Sea Ice area against cumulative emissions, and have 24 curves (model runs) from 5 (five) cumulative emissions groups (1000, 2000, 3000, 4000, and 5000 GtC). What I want to do is group all the runs together which are from the same cumulative emissions group (which I've done by specifying the same colour for runs from a particular cumulative emissions group). Thus it would be best to have one legend entry for each cumulative emissions group (rather than a legend entry for each run!).
My current plot structure (minus the legend script) is as follows:
set(gca,'FontSize',15,'fontWeight','bold') set(findall(gcf,'type','text'),'FontSize',15,'fontWeight','bold') xlabel('Cumulative Emissions (GtC)') ylabel('Northern Hemisphere Sea Ice Area (m ^2)') title('Average September NH Sea Ice Area (2000-2500) for the 1000-5000 GtC scenarios')
SVBar, SVBar2, ..., SVBar24 are the sea ice area curves, and CumEmFAST1000SVV, CumEmVFAST1000SVV, ..., CumEmPULSE5000SVV refer to the corresponding cumulative emission values.
My idea is to have the following items grouped together within the legend, using the following legend entries (1000 GtC, 2000 GtC, 3000 GtC, 4000 GtC, 5000 GtC):