Message Boards Message Boards

Specify how overlapping plots are displayed with "OverlapStyle"?

GROUPS:

Is there a way to specify how overlapping plots are displayed?

Graphics[{Thickness[0.002], Line[{{{0, 0}, {5, 5}}, {{1, 1}, {4, 4}}, {{2, 2}, {3, 3}}}]}]

enter image description here

It's subtle, but overlapping portions of the lines are thicker. It would be nice for some applications if we could specify such that there is no added thickness, so it would look more like:

Graphics[{Thickness[0.002], Line[{{{0, 0}, {5, 5}}}]}]

enter image description here

POSTED BY: Bryan Lettner
Answer
13 days ago

No there is not. This the consequence of having lines thinner than (or around) one pixel probably in combination with your antialiasing settings.

Make the ImageSize bigger, Rasterize it, and then use ImageResize to get a smaller one again.

Graphics[{Thickness[0.002], 
  Line[{{{0, 0}, {5, 5}}, {{1, 1}, {4, 4}}, {{2, 2}, {3, 3}}}]}, 
 ImageSize -> 800]
POSTED BY: Sander Huisman
Answer
13 days ago

Thank you, that might do the trick.

POSTED BY: Bryan Lettner
Answer
13 days ago

Group Abstract Group Abstract