![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
21 Dec
2006
21 Dec
'06
1:32 a.m.
Aditya Mahajan wrote:
definedash [[myeven]] [[on 3 off 3]] ;
beginfig(1) draw (0,0)--(100,100) dashed myeven ; endfig ; end;
Is there a better way to do this in metapost?
Not really, I think. A dash pattern like definedash [[stutter]] [[on 3 off 3 on 1 off 3]] ; is allowed, making a true key-value solution almost impossible. (and I expect similar situations with just about everything) Taco