MATLAB: Plot not showing line fully

MATLABplotting

my plot does not show the line for certain areas. Any idea what the problem is?

Best Answer

There may be some problem with the graphics rendering. See if an update to your graphics driver is available.
Otherwise, adding:
'LineWidth',1.5
to your plot call might be a work-around.