MATLAB Answers


Best way to plot three overlapping sets of integer data?

Asked by Justin
on 18 May 2013

I'm plotting the number of iterations for 3 different trials so the y-axis is all integer values.

The issue is that the data overlaps so my current plot is HIDEOUS. I thought of doing '--kv','--ks','--kd' for the linestyles and that looks slightly better but still horrible. Any ideas? Below is a print out of the current plot:


Why isn't this good enough?

on 18 May 2013

@per isakson

I personally think it's really hard to read with the overlapping regions. Does no one else think so?



No products are associated with this question.

1 Answer

Answer by Image Analyst
on 18 May 2013

Looks fine to me. Plot as three separate plots if you don't want overlapping sections.


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!