Problem with log coordinates in metafun graph module
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. -- Jean-Philippe Rey jean-philippe.rey@centralesupelec.fr 91192 Gif-sur-Yvette Cedex - France Empreinte PGP : 807A 5B2C 69E4 D4B5 783A 428A 1B5E E83E 261B BF51
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
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.
participants (1)
-
Jean-Philippe Rey