Dear list,

I dived into m-grap.mpiv and found that "log" coordinates are now called 
"logarithmic". So

   setcoords(logarithmic, linear)

is the new way and it works with the last ConTeXt version.

Jean-Philippe,

> Le 8 déc. 2021 à 11:49, Jean-Philippe Rey via ntg-context 
> <ntg-context@ntg.nl> a écrit :
> 
> Dear list,
> 
> Log coordinates seem to be broken in the last version of 
> ConTeXt/metafun/graph.
> 
> Here is my failing example
> 
> ===================================
> \usemodule[graph]
> \starttext
> \startMPcode{graph}
> draw begingraph(100mm, 100mm);
>       setcoords(log, linear);   % works fine with setcoords(linear, linear);
>       gdraw (1e-3, 10) -- (10, 30);
>       endgraph;
> \stopMPcode
> \stoptext
> ===================================
> 
> which produces nothing but works with ConTeXt  ver: 2021.01.05 10:45 LMTX.
> 
> You will find attached the log file which contains
> 
> metafun         > log > error: A primary expression can't begin with ','
> 
> Thank you for your help.


___________________________________________________________________________________
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