On Thu, 2 Mar 2017 09:33:38 +0100
Antoine Cailliau <antoinecaill...@gmail.com> wrote:

> Hi,
> 
> I'd like to use graph to draw my plots with metapost. However, the
> following minimal file does not work:
> 
> \usemodule[graph]
> > \starttext
> > \startMPcode
> >   draw begingraph(3in,2in);
> >     gdraw "agepop91.d";
> >   endgraph;
> > \stopMPcode
> > \stoptext

You have to use the "graph" MP instance:

\startMPcode{graph}
...
\stopMPcode

Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to