How can I modify the usual curve style DotDashed such that the length of the dashed portion is increased or is controllable? For example in
Plot[Sin[x],{x,0,6.25},PlotStyle-> DotDashed]
Dotted
, Dashed
, and DotDashed
all evaluate as they are shorthand for a full Dashing
specification. For example,
In[5]:= DotDashed
(*Out[5]= Dashing[{0, Small, Small, Small}]*)
where each element in the List
represents a segment. They come in pairs: line length followed by space length. So, for DotDashed
there is a 0
length line (the dot) followed by a Small
space, and a Small
line followed by a Small
space. If you want to manipulate the dash length, just change its element in the List
:
Table[
Plot[Sin[x], {x, 0, 2 Pi}, PlotStyle -> Dashing[{0, Small, d, Small}]],
{d, {Tiny, Small, Medium, Large}}
]
Other explorations can be found here.