How to show legend for only a specific subset of curves in the plotting?
I do not like storing the handle values, it becomes a mess when I have a lot of graphs in my figures. Therefore i found another solution. t = 0 : 0.01 : 2 * pi; s = sin(t); c = cos(t); m = -sin(t); hold on; plot(t, s, ‘r’, ‘HandleVisibility’,’off’); % Plotting and telling … Read more