I'm drawing a bended line with TikZ, say using
\draw (0,0) to[out=-45, in=-135] (0,5);
Is there a way to define a dash pattern such that the first third of this arc is fully present, the second third is dashed and the last third is invisible? In other words, can the dash pattern somehow depend on the length of the line?
For straight lines, I can imagine a workaround by just splitting the line into three parts, but this is (at least for me) not really possible in this case.