From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105189 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: new (lmtx) beta Date: Sat, 5 Oct 2019 09:39:12 +0200 Message-ID: References: <1a5045de-4a3f-d16f-0041-4eb21a50e86b@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4998060194050056718==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="56362"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 05 09:40:43 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iGegD-000EUh-Ul for gctc-ntg-context-518@m.gmane.org; Sat, 05 Oct 2019 09:40:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id ED741161155; Sat, 5 Oct 2019 09:40:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o6iTAZ9kmzrk; Sat, 5 Oct 2019 09:40:11 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 690FF16177F; Sat, 5 Oct 2019 09:40:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1E0A116119E for ; Sat, 5 Oct 2019 09:40:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id us0XLVr0-ATA for ; Sat, 5 Oct 2019 09:40:06 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.43; helo=mail-wm1-f43.google.com; envelope-from=fabrice1.couvreur@gmail.com; receiver= Original-Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 26E82161155 for ; Sat, 5 Oct 2019 09:40:06 +0200 (CEST) Original-Received: by mail-wm1-f43.google.com with SMTP id 5so7834658wmg.0 for ; Sat, 05 Oct 2019 00:40:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Ov3m/CeqJLpYk5oJn2oDrkl5JIjFLsUZEHKHi1f3k84=; b=myASPz7+B+D8+//wmvHiqnW4O/+1qcvqmwtC58gCOh/63/sXk/NjTee0XRlewukasi YhMv1YJf+JC6QFyUdck7eyydM9lAq9r/UWs5KZ+08ENJzAwas0HeJORaZ1LscCTy+gaJ 3y/4T65Uf+Avzda222jw87Dkp6/MOkc8kHzhdmfY8YNbanxIJ7YRMzeYk+Qrfo0dtpci JdNqcCZkuqacEV1lrRUBgIBK/AVJc/Rv19mpw0ysY4e3VPEHkrPNnnPauCFks/u1xqPx LDU2lsTrHYc5Jgt0aXr9sK28TdSvGLHTNtJZHBuqWuG8ssjnO/paTFngF49syRHxvylN T4ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Ov3m/CeqJLpYk5oJn2oDrkl5JIjFLsUZEHKHi1f3k84=; b=X4fAWDj8K9KhVyyyUP7xl0zL39ZXSfwcehH0oo6PVYuVSHCFMHYiC6kmozpccyB5tX sNkFXNqVKlIsAO+XXfZOZv65+pF9cf72ajTBMOg544gOUn3k8PTVih4lWISgc5l4bn3p Tnr0QaWVp00aufLOkN3wJxcceow+lLCL2N2dC8kZM9WqFKmdniFXHbT22F95UZsboKvF v5Yj/A5zeH6qEfrqUHREgLMkhJRgQ1/9pvKdjcxGoHpC2d7bDpe8t6caWpV0ylh6C9vo 321uFQJ1nqyX/HPhR/NWPiLC2KSDxBvQYE1TFnEPy+I/uX3OS8lrcbp8ldc7jLlkK2GY RzSg== X-Gm-Message-State: APjAAAUSmyUfGzU4/DqjEPFnrsw5u0zbnUKrSCbA6CVms5J4ZEmQASbd zPXtowt0EdC/jybmwSrTwwNrciklUB+wB3Nw84iCpNK2J4c= X-Google-Smtp-Source: APXvYqxP8yo1RDGsghtoti6XZgXATnafjkr1Gm9M3ix6YjUXs+CruuYjF1+99pm3vOUDIWwx8tGWU3CP4E6VyKnxL8I= X-Received: by 2002:a1c:9889:: with SMTP id a131mr8390032wme.38.1570261205284; Sat, 05 Oct 2019 00:40:05 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:105189 Archived-At: --===============4998060194050056718== Content-Type: multipart/alternative; boundary="0000000000005879ef059424edaf" --0000000000005879ef059424edaf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Hans, Where is this documentation ? Thank you. Fabrice Le ven. 4 oct. 2019 =C3=A0 21:34, Mikael P. Sundqvist a =C3=A9crit : > On Fri, Oct 4, 2019 at 6:11 PM Hans Hagen wrote: > >> Hi, >> >> I uploaded a new lmtx beta. Again some more metafun trickery (see >> luametafun manual). I attached an (lmtx only) example of some experiment >> code, dedicated to Alan Braslau (teacher among other things). >> >> Hans >> >> ----------------------------------------------------------------- >> Hans Hagen | PRAGMA ADE >> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands >> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl >> ----------------------------------------------------------------- >> >> ________________________________________________________________________= ___________ >> If your question is of interest to others as well, please add an entry t= o >> 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 >> >> ________________________________________________________________________= ___________ >> > > > Hi, > > I read the new manual with a great joy! This is really nice improvements > of MetaFun! I also like the 3D plots! > > I had the possibility to try out some contour graphics on a freshly > updated system. I have two questions: > > 1) I think the first (blue) plot looks fine and it looks like it could be > the same curve as the blue one in the Mathematica plot (page 3). Why does > my second example (orange) not match with the result from Mathematica > (orange)? (I think I do something wrong) > 2) Is there a way to combine the two contour plots in one MetaFun drawing= ? > If I add them both to the same, only the last one shows. If I try > functions=3D{"-4+x^2+x^5+15*y-y^2-10*x^3*y^2+5*x*y^4","-15*x+2*x*y+5*x^4*= y-10*x^2*y^3+y^5"} > it does not show both either. > > /Mikael > > Test document (output was too big to attach (sorry if it came through to > someone), so I put it at http://www.maths.lth.se/~mickep/polynomnoll.pdf = ) > > \starttext > \startMPpage[offset=3D3bp,instance=3Ddoublefun] > draw lmt_contour [ > xmin=3D-5, > xmax=3D5, > ymin=3D-5, > ymax=3D5, > xstep=3D0.01, > ystep=3D0.01, > range=3D{0}, > levels=3D1, > function=3D"-4+x^2+x^5+15*y-y^2-10*x^3*y^2+5*x*y^4", > linecolor=3D"darkblue", > linewidth=3D1, > legend=3Dfalse, > cache=3Dtrue, > ] xsized 10cm ; > \stopMPpage > > \startMPpage[offset=3D3bp,instance=3Ddoublefun] > draw lmt_contour [ > xmin=3D-5, > xmax=3D5, > ymin=3D-5, > ymax=3D5, > xstep=3D0.01, > ystep=3D0.01, > range=3D{0}, > levels=3D1, > function=3D"-15*x+2*x*y+5*x^4*y-10*x^2*y^3+y^5", > linecolor=3D"orange", > linewidth=3D1, > legend=3Dfalse, > cache=3Dtrue, > ] xsized 10cm ; > \stopMPpage > > \startbuffer[mmainput] > ContourPlot[ > {-4+x^2+x^5+15y-y^2-10x^3y^2+5x*y^4 =3D=3D 0, > -15x+2x*y+5*x^4*y-10x^2*y^3+y^5 =3D=3D 0}, > {x, -5, 5}, {y, -5, 5}, Frame -> False] > \stopbuffer > \startTEXpage[offset=3D2bp] > \typebuffer[mmainput] > > \externalfigure[mathematicaplot][width=3D10cm] > \stopTEXpage > \stoptext > > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --0000000000005879ef059424edaf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Hans,
Where is this documentation ?
Thank you.

Fabrice


Le=C2=A0ven. 4 oct. 2019 =C3=A0=C2=A021:34, Mikael P. Sundqvis= t <mickep@gmail.com> a =C3=A9= crit=C2=A0:
On Fri, Oct= 4, 2019 at 6:11 PM Hans Hagen <j.hagen@xs4all.nl> wrote:
Hi,

I uploaded a new lmtx beta. Again some more metafun trickery (see
luametafun manual). I attached an (lmtx only) example of some experiment code, dedicated to Alan Braslau (teacher among other things).

Hans

-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.nl | www.= pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________


Hi,
<= div>
I read the new manual with a great joy! This is really n= ice improvements of MetaFun! I also like the 3D plots!

=
I had the possibility to try out some contour graphics on a freshly up= dated system. I have two questions:

1) I think the= first (blue) plot looks fine and it looks like it could be the same curve = as the blue one in the Mathematica plot (page 3). Why does my second exampl= e (orange) not match with the result from Mathematica (orange)? (I think I = do something wrong)=C2=A0
2) Is there a way to combine the two co= ntour plots in one MetaFun drawing? If I add them both to the same, only th= e last one shows. If I try functions=3D{"-4+x^2+x^5+15*y-y^2-10*x^3*y^= 2+5*x*y^4","-15*x+2*x*y+5*x^4*y-10*x^2*y^3+y^5"} it does not= show both either.

/Mikael

Test document (output was too big to attach (sorry if it came through= to someone), so I put it at http://www.maths.lth.se/~mickep/polynomnoll= .pdf )

\starttext
\startMPpage[offset=3D3bp= ,instance=3Ddoublefun]
draw lmt_contour [
xmin=3D-5,
xmax=3D5,
= ymin=3D-5,
ymax=3D5,
xstep=3D0.01,
ystep=3D0.01,
range=3D{0},levels=3D1,
function=3D"-4+x^2+x^5+15*y-y^2-10*x^3*y^2+5*x*y^4&qu= ot;,
linecolor=3D"darkblue",
linewidth=3D1,
legend=3Dfal= se,
cache=3Dtrue,
] =C2=A0xsized 10cm ;
\stopMPpage

\startM= Ppage[offset=3D3bp,instance=3Ddoublefun]
draw lmt_contour [
xmin=3D-5= ,
xmax=3D5,
ymin=3D-5,
ymax=3D5,
xstep=3D0.01,
ystep=3D0.01,=
range=3D{0},
levels=3D1,
function=3D"-15*x+2*x*y+5*x^4*y-10*= x^2*y^3+y^5",
linecolor=3D"orange",
linewidth=3D1,
= legend=3Dfalse,
cache=3Dtrue,
] =C2=A0xsized 10cm ;
\stopMPpage
\startbuffer[mmainput]
ContourPlot[
=C2=A0{-4+x^2+x^5+15y-y^2-10= x^3y^2+5x*y^4 =3D=3D 0,
=C2=A0 -15x+2x*y+5*x^4*y-10x^2*y^3+y^5 =3D=3D 0}= ,
=C2=A0 {x, -5, 5}, {y, -5, 5}, Frame -> False]
\stopbuffer
\s= tartTEXpage[offset=3D2bp]
\typebuffer[mmainput]

\externalfigure[m= athematicaplot][width=3D10cm]
\stopTEXpage
\stoptext
= =C2=A0
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--0000000000005879ef059424edaf-- --===============4998060194050056718== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============4998060194050056718==--