[NTG-context] Clipping again

Mojca Miklavec mojca.miklavec.lists at gmail.com
Sun Jun 25 21:37:57 CEST 2006

On 6/25/06, David Arnold wrote:
> Unfortunately, even though this works, mathematicians really want
> arrows at each end of the graph. Easy enough to do with drawdblarrow
> P withcolor blue, but the arrows then get clipped. What I really need
> is to adapt the code below so that my function is clipped to the
> boundary box, but then redrawn with arrows at each end of it. If
> anyone can adjust my code to do that, it would be much appreciated,
> and it would break down a barrier I've faced for years with metapost
> coding.

Just for clarification: What would you do with a "mexican hat"
(x^4-4*x^2+4, y between 0 and 3) it if would cut the boundary 4 times?
Use 4 arrows or just the two at the end?


More information about the ntg-context mailing list