I am plotting something like:
plot(x->x^2,lw=5,linestyle=:dot)

Is there some way to modify the distance between the individual dots in the plot?
I am plotting something like:
plot(x->x^2,lw=5,linestyle=:dot)

Is there some way to modify the distance between the individual dots in the plot?
One option is to reduce the line width, since the smaller dots will be packed in more tightly.
Do you mind posting a full example? I get a slightly different result when I run your code:

I have the same problem (for dots as well as for dashes). Is there no parameter to adjust the space between dots/dashes? Basically :dot generates a line with dots with no space at all for me. Adjusting the linewidth does also affect the dot spacing, but (of course) dots become larger too which is not what I want.
Thanks in advance!
Not sure abouts Plots but with Makie you can pass a vector of lenghts as linestyles, see lines · Makie
The short answer is: no, noone implemented this yet. Someday someone might have enough need to do it, but that day isn’t today.
Although with Add extra series options at the end by BeastyBlacksmith · Pull Request #4765 · JuliaPlots/Plots.jl · GitHub it can be set via extra keywords for the pgfplotsx backend.
Thanks!