Bug or my incompotence & a question...

I’ve run into a weird bug in ListLinePlot. It seems to be missing a point and miss-assigning a different one, I’ve done a couple other such plots w/o issue. Here is the code (and attached is the graph):

ListLinePlot[{{{0, 400}, {10, 400}, {85, 335}, {400, 335}}, {{0, 650}, {10, 650}, {335, 400}, {400, 400}}, {{0, 400}, {8, 400}, {200, 260}, {400, 260}}}, PlotMarkers->{Automatic}]

Removing the {10, 650}, seems to register the missing {0, 650} point. What am I doing wrong? Or is this really a bug?

Add a

PlotRange->All

and the problem goes away.

The default method to decide which points are “interesting” has decided one of your points isn’t.

Thank you PlotRange ->All does fix the issue. And it seems to ignore the first two points of that second set on the plot. What is confusing is that blue dot on the yellow line. I’m guessing that it means “hey there is more data up here but we’re not plotting it” But the fact there is a blue line w/ blue plot marks, it made it very confusing. Thank you again.

Hi Andrew,

you are right. This blue dot to mark the clipping can be confusing. If, however, you set the ClippingStyle to False, that problem can be solved, too:

ListLinePlot[{{{0, 400}, {10, 400}, {85, 335}, {400, 335}}, {{0, 650}, {10, 650}, {335, 400}, {400, 400}}, {{0, 400}, {8, 400}, {200, 260}, {400, 260}}}, PlotMarkers -> {Automatic}, ClippingStyle -> False]

Cheers,

Marco