I want to render a TimelinePlot of events. But the events are so dense that they may overlap.
For exmaple something like:
events = DateObject[{2024, 1, 1, 0, 0, #}]& /@ RandomReal[{0,60}, 100]; Now when I plot it, the problem is that the events with overlapping marker block each other, so visually, the information about multiple events stacked close to each other is lost
TimelinePlot[events] I tried adding opacity but that doesn't work either. I would expect the markers to overlap with higher opacity on the overlap, but that's not the case.
TimelinePlot[events, PlotStyle->Opacity[0.5]] Another thing I tried was to add a custom marker with opacity, for example like this:
TimelinePlot[events, PlotMarkers->Graphics[{Blue, Opacity[0.5], Disk[]}]] now the output is closer to what I'd expect but the rendering is somewhat ugly
This is almost there, but I don't like how the individual marker is rendered. When we look closer it looks like this:
being darker on the inside and lighter on the outside. This is probably due to some antialiasing? I would be OK with this on the boundary, but I don't like it in the center. This becomes a lot more apparent when I want to set the opacity lower. The default PlotMarkers don't suffer this issue.
Any ideas how to improve this?






TimelinePlot[events, PlotMarkers -> Graphics[{Blue, Text["|"]}]]$\endgroup$Line[{{0,1},{0,0}}]with a similar results but there is still some unpleasant fuzziness from a close look. Is it somehow possible to force the line to be exactly one pixel wide (with no antialiasing attempts)?AbsoluteThickness[1]does not seem to cut it in theGraphics. $\endgroup$TimelinePlot[events , PlotLayout -> "Stacked" , PlotMarkers :> {"\[EmptyCircle]", 12} , PlotStyle -> Opacity[1] , Filling -> Axis , AspectRatio -> 1/5 , ImageSize -> 1200 ]? $\endgroup$