Reputation: 1
How can I distinguish multiple overlapping lines on MATLAB graphs like this?
Upvotes: 0
Views: 267
Reputation: 667
I would suggest different combinations of line widths, marker sizes and colors, plot the thickest lines and largest markers first since the ones plotted later will be on top, this code demonstrates this:
x=1:5;
plot(x, x, 'color', 'b', 'marker', 'o', 'markersize', 10, 'linewidth', 1)
line(x, x, 'color', 'g', 'linewidth', 1, 'marker', 's', 'markersize', 5, 'markerfacecolor', 'g', 'linestyle', '--')
Upvotes: 1