3
$\begingroup$

Consider the following example

ListLogPlot[{{Null}, {{1, 4}, {2, 10}, {3, 20}}, {{3, 4}, {4, 10}, {5,
 20}}}, PlotRange -> {{0, 5}, {3, 11}}, Joined -> True, PlotMarkers -> Automatic, Frame -> True, Axes -> False]

in Mathematica 10.2 it results in the following plot with different colours for the two top points. How can this be fixed?

enter image description here

$\endgroup$
  • $\begingroup$ The issue is still in MMA 11.3. And it is more evident when Frame->False, Axes->True. Those points should not be there. I use macOS 10.13.4, in a iMac Intel i3. I suggest you contact support. $\endgroup$ – José Antonio Díaz Navas Apr 6 '18 at 12:50
  • $\begingroup$ weird, note that those markers should not be there at all. It is putting a marker where the joining line hits the range boundary. $\endgroup$ – george2079 Apr 6 '18 at 12:51
2
$\begingroup$

the workaround:

data = {{Null}, {{1, 4}, {2, 10}, {3, 20}}, {{3, 4}, {4, 10}, {5, 
     20}}};
Show[{ListLogPlot[data,
   PlotRange -> {{0, 5}, {3, 11}}, Joined -> True, Frame -> True, 
   Axes -> False],
  ListLogPlot[data]}]

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.