From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71705 Path: news.gmane.org!not-for-mail From: Paul Menzel Newsgroups: gmane.comp.tex.context Subject: Re: Plotting a graph of a function f, like f(x) = e^x, with MetaPost Date: Thu, 13 Oct 2011 01:19:35 +0200 Message-ID: <1318461575.1055.38.camel@mattotaupa> References: <1318373112.3726.35.camel@mattotaupa> <20111012053642.GA53825@iram-hb-003386.extra.cea.fr> <1318457618.1055.24.camel@mattotaupa> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1916621845==" X-Trace: dough.gmane.org 1318461592 27882 80.91.229.12 (12 Oct 2011 23:19:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2011 23:19:52 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 13 01:19:48 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RE85S-00075C-LB for gctc-ntg-context-518@m.gmane.org; Thu, 13 Oct 2011 01:19:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 84FCBCB03C; Thu, 13 Oct 2011 01:19:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pvt0ypVL2fkg; Thu, 13 Oct 2011 01:19:41 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 721B0CB037; Thu, 13 Oct 2011 01:19:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 726EBCB037 for ; Thu, 13 Oct 2011 01:19:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TatpXSaLeKTm for ; Thu, 13 Oct 2011 01:19:37 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id DFF4ECB035 for ; Thu, 13 Oct 2011 01:19:37 +0200 (CEST) Original-Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p9CNJa0F032421 for ; Thu, 13 Oct 2011 01:19:37 +0200 Original-Received: from f053046227.adsl.alicedsl.de ([78.53.46.227] helo=[192.168.178.21]) by mail.gw90.de with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RE85O-0004WO-UZ for ntg-context@ntg.nl; Wed, 12 Oct 2011 23:19:43 +0000 In-Reply-To: X-Mailer: Evolution 3.0.3-2 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=188.40.100.199; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08FHXjAgV - e37822373b28 - 20111013 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:71705 Archived-At: --===============1916621845== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-aZsKI6cBWtcjIhOm86t5" --=-aZsKI6cBWtcjIhOm86t5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Donnerstag, den 13.10.2011, 00:28 +0200 schrieb Mojca Miklavec: > On Thu, Oct 13, 2011 at 00:13, Paul Menzel wrote: > > Am Mittwoch, den 12.10.2011, 07:36 +0200 schrieb Alan Braslau: > > > >> Metapost can now perform calculations in double precision floating poi= nt. > >> At this time, it is in the svn version and does not work yet as > >> such integrated in ConTeXt (through mplib). Taco promises this for soo= n... > > > > great to hear that. Just to clarify, with =C2=BBnow=C2=AB you mean Meta= Post v2, do > > not you? >=20 > No, 1.750. The version 2 is not quite ready yet, but the version 1.750 > already deals with floating point numbers. Thank you for the clarification/correction. > > Taco, I hope you get there without a lot of problems showing > > up. If you need testers a good option would be to integrate that into > > ConTeXt Standalone as an option. >=20 > It will become part of distribution as soon as it gets out, but Taco > was busy enough organizing conference and dozens of other things. Just > give him some time. I bet that he also wants to update documentation, > do final bugfixing etc. instead of just releasing a random snapshot. Of course the user would have to make a conscious decision by enabling this =E2=80=9Cbeta=E2=80=9D release. If people could test this and with the= right announcement I hope that some people would step up to test and contribute by submitting bug reports or writing documentation. > > One thing coming to my mind though that hopefully the wheel is not > > reimplemented. I guess Gnuplot can do a lot already, but on the other > > probably not as neat as Metapost when we want to color certain areas. >=20 > Can you please specify your question more precisely? I meant coloring part of the area below a graph. For example if you look at the graphic for Riemann sums on page 51 of the document =C2=BBLearning MetaPost by Doing=C2=AB [6]. > Gnuplot terminal uses metapost output. Gnuplot has some support for > transparency, even though I'm not exactly sure if one can specify > transparent colors for lines, only for fills. But you can always > simply redefine line type colors to be transparent. >=20 > Gnuplot brings all kinds of other problems like dependency on external > tool. If you have enough time to create nice plots in metapost, it is > better to avoid external dependency as a general rule. But if you have > more questions about it, feel free to ask. I might be able to help > you. Well my only question would be, why should someone use Gnuplot then? Is it only for people already knowing Gnuplot? Or also because it is a little less work to define the coordinate system and legends? Otherwise MetaPost seems to include all functionality Gnuplot offers and seems to offer more possibilities, does not it? > The ConTeXt terminal was almost included until developers > realized that they wanted me to throw away some code for handling > units and replace that code with something buggy (like "size 10cm,10" > -> (10cm,10cm); "size 10,10cm" -> (0.35cm,10cm) or (25.40cm,10.00cm) > depending on weather). Now I need to either rewrite part of my code or > rewrite part of core code or convince them why keeping the old code. I remember a thread about that [9]. Thanks, Paul [6] http://staff.science.uva.nl/~heck/Courses/mptut.pdf [9] http://www.ntg.nl/pipermail/ntg-context/2010/054196.html --=-aZsKI6cBWtcjIhOm86t5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk6WIIcACgkQPX1aK2wOHVjqYwCcD7MwpBTmrc2VXcMQN2S1urDK OQkAnik+p6nR6OeHp3R3DXBuV5RG8Uc8 =XH3Y -----END PGP SIGNATURE----- --=-aZsKI6cBWtcjIhOm86t5-- --===============1916621845== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1916621845==--