On Aug 2, 2006, at 11:56 PM, Mojca Miklavec wrote:
So you have to draw the path twice with different color and pattern (you can write a macro for it of course if you need it often).
beginfig(1); pickup pencircle scaled 2pt; picture dp[]; dp[1] := dashpattern(on 2 off 6) scaled 3pt; dp[2] := dashpattern(off 4 on 2 off 2) scaled 3pt;
path p; p := (origin .. (2,1) .. (3,-1) .. (5,0)) scaled 3cm;
draw p dashed dp[1] withcolor blue; draw p dashed dp[2] withcolor red; endfig; end.
Mojca
Mojca, thanks so much, this works and does exactly what I want! For the rest of my questions: I've decided to go for an embedded staticMPfigure instead of MPpositiongraphic, so I can manage. But I'd still be curious if these things are possible or not. Anyways, thanks a lot! Thomas