Re: [NTG-context] Problem with log coordinates in metafun graph module
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. ___ 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 ___
[NTG-context] 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@centralesupelec.fr 91192 Gif-sur-Yvette Cedex - France Empreinte PGP : 807A 5B2C 69E4 D4B5 783A 428A 1B5E E83E 261B BF51 mfe-graphlog.log Description: Binary data ___ 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 ___