Is there an easy way to limit the scope of graphics directives specified for the PlotStyle option of functions such as ListPlot and List LinePlot to just the lines joining the points? The reason I ask is that I’m seeing directives such as Dotted and Dashed applied to unfilled plot markers. Whilst I understand from the documentation that this is the intended behaviour, it’s probably not the best default behaviour in most situations — I can’t think of a single occasion on which I’ve wanted to dash- or dot-style the lines used to draw the plot markers.
The issue is highlighted in the code snippet below.
ListLinePlot[
Table[Table[{i, i*RandomReal@{1, 4}}, {i, 3}], 10]
, PlotLegends -> Automatic
, PlotMarkers -> {Automatic, 10}
, PlotStyle -> Directive[Dotted]
]
This code generates a plot like the one shown below. In this plot, the Dotted PlotStyle, which I really only want to be applied to the lines joining the points, is also being applied to the lines used to draw the unfilled plot markers for plot numbers 6 to 10.
One obvious solution that occurs to me is to explicitly specify the plot markers such that the issue doesn’t arise. But I’d rather not have to do this if there’s a simple way of stipulating that the PlotStyle should be restricted to the lines joining the points or should not be applied to the lines used to draw the plot markers. Or alternatively that only filled plot markers should be used.


