Based on this answer I am able to draw dotted or dashed vertical lines in a plot using Epilog. For example (from the answer I linked)
f[x_] := (x^2 z)/((x^2 - y^2)^2 + 4 q^2 x^2) /. {y -> π/15, z -> 1, q -> π/600}
Quiet[maxy = FindMaxValue[f[x], x]*1.1]
lineStyle = {Thick, Red, Dashed};
line1 = Line[{{π/15 + 1/50, 0}, {π/15 + 1/50, maxy}}];
line2 = Line[{{π/15 - 1/50, 0}, {π/15 - 1/50, maxy}}];
Plot[{f[x]}, {x, π/15 - 1/20, π/15 + 1/20},
PlotStyle -> {Automatic},
Epilog -> {Directive[lineStyle], line1, line2}]
Leads to
Now, what I'd like to do is not plot dashed lines, but plot lines that are essentially dotted with a certain marker, such as a Disk or a Rectangle, or even a Polygon. Is there a way to do this? I've looked into Dashing, but I don't really see any marker options there.
A rough mockup would be something like this
While I don't disagree with the comments that there might be better solutions in terms of how one represents data properly, it would still be nice to be able to try.


Graphics[{Arrowheads[{.1, #, Graphics[{Black, Circle[]}]} & /@ Range[0, 1, .1]], White, Arrow[{{0, 0}, {2, 1}}]}]more or less, just a tip. You can also use LineScaledCoordinate to generate positions along lines and put whatever you need there withInset. – Kuba Aug 11 '16 at 11:20GridLinesare faster thanFindMaxValue. Take a look at 118419 – Kuba Aug 11 '16 at 13:51Epilogthan withGridLines. – user129412 Aug 11 '16 at 13:53Plot[{f[x]}, {x, \[Pi]/15 - 1/20, \[Pi]/15 + 1/20}, PlotStyle -> {Automatic}, GridLines -> {Pi/15 + (1/50 {1, -1})}, GridLinesStyle -> Directive[Thick, Red, Dashed]]– Kuba Aug 11 '16 at 13:56