I am using ListPlot to plot many lines in the same graph. I want to put in a legend but only for a subset of these lines. For example
ListPlot[{P1,P2,P3,P4},PlotLegend -> {"a","b"}]
where P1,P2,P3,P4 are some lists that one can plot, however this creates a legend for -all- plots P1,...,P4, with empty texts for some of them. How can I make a legend that only lables two of the lines?
PlotLegends
, notPlotLegend
. $\endgroup$