Message Boards Message Boards

GROUPS:

Specify how overlapping plots are displayed with "OverlapStyle"?

Posted 2 months ago
265 Views
|
2 Replies
|
1 Total Likes
|

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

2 Replies

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 2 months ago

Thank you, that might do the trick.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract