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.