Hi, I am plotting the experimental data and fitted line using matlab plot. The legend command shows the markers (data points) and line (fit) as a separate legend entry. However, I am interested to obtain the marker and line in a single legend entry so that the total number of legend entries could be reduced from 8 to 4 in my case. Hence, I would like to ask your assistance which could be useful for my plot. Thank you.
MATLAB: Marker and Line in legend in matlab plot
legendlinesmarkersMATLAB
Related Question
- Lenend keep only text
- Displaying correct marker type using text command
- Missing legend entries on plotyy
- How can the colors of ones choice be added to the legends manually in an image
- Combine Multiple Plot Components into Single Plot Legend Entry
- How to change the appearance of the lines in the legend in a MATLAB figure
Best Answer