[metapost] Graph v New number systems

John Kitzmiller jkitzm at gmail.com
Fri Nov 4 02:04:33 CET 2022


FWIW the graph is created correctly in ConTeXt
<https://wiki.contextgarden.net/Main_Page>where both MetaPost
<https://wiki.contextgarden.net/MetaPost> and the Graph package are
augmented. I believe that in ConTeXt Metafun/Metapost numbersystem is double
precision <https://www.mail-archive.com/ntg-context@ntg.nl/msg94371.html>
by default.

\usemodule[m-graph]
\startMPpage[instance=graph, offset=5mm]
  numeric width; width = 7cm;
  draw begingraph(width, 0.618034 width);
     setrange((-4, 0), (11, 100));
     gdraw "setrange.data";
 endgraph;
 \stopMPpage

On Wed, Nov 2, 2022 at 3:01 PM luigi scarso <luigi.scarso at gmail.com> wrote:

>
>
> On Wed, 2 Nov 2022 at 18:38, Toby Thurston <thurston at eml.cc> wrote:
>
>> Can I draw your attention to this unanswered question on TeX.SE?
>>
>> https://tex.stackexchange.com/q/507361/15036
>>
>> the questioner had found that this graph is created correctly with the
>> scaled number system
>>
>>
> hm... I will check surely for this weekend.
>
> --
> luigi
> --
> http://tug.org/metapost/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/metapost/attachments/20221103/c7325d8a/attachment.html>


More information about the metapost mailing list.