I have 9 curves on a plot. 3 different colors x 3 (solid lines, dotted lines etc). However Instead of crowding my legend with 9 entries, I'd like to depict each color – their meaning (example red – 30-70Hz, blue – 20-50hz etc) and separately the meaning of dotted lines (training set), solid lines (test set) etc. How do I do this in Matlab ?
MATLAB: Manually enter legend details
manual entry in legend
Best Answer