Re: [NTG-context] function machine

2005-12-28 Thread Hans Hagen
David Arnold wrote: \startMPinclusions ... \stopMPinclusions you can consider putting that code into an environment file easier to maintain Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] function machine

2005-12-28 Thread Mojca Miklavec
Please, put this example on the wiki (together with some sample images that can be created, with or without some cheating). The community would be greatful for that. Hans, Taco, et al, This is getting pretty close to the limit of my expertise. The good stuff of it is stolen from Metafun and

Re: [NTG-context] function machine

2005-12-28 Thread David Arnold
Mojca, I've used clip currentpicture to cpath before, then saved the result, draw the grid, draw the axes, then draw the saved clipped picture. But, you're right, I can't use drawdblarrow then. In our classes, the drawdblarrow is important, having the same meaning as the ellipsis in 1,

[NTG-context] function machine

2005-12-27 Thread David Arnold
Hans, Taco, et al, This is getting pretty close to the limit of my expertise. The good stuff of it is stolen from Metafun and mp-func.mp. Because of the way I handle clipping the path, p:=p cutbefore cpath; p:=reverse p; p:=p cutbefore cpath; this will only work on functions (like