From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78352 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: interesting link Date: Tue, 18 Sep 2012 10:34:53 +0200 Message-ID: References: <50579334.6060302@wxs.nl> <50582E7A.6050601@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0291115999==" X-Trace: ger.gmane.org 1347957305 28991 80.91.229.3 (18 Sep 2012 08:35:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2012 08:35:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 18 10:35:09 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TDtGv-0006N9-0U for gctc-ntg-context-518@m.gmane.org; Tue, 18 Sep 2012 10:35:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AE7AB10287; Tue, 18 Sep 2012 10:35:04 +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 2E-64vCfgnKJ; Tue, 18 Sep 2012 10:34:59 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 44D75101E6; Tue, 18 Sep 2012 10:34:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 48D40101E6 for ; Tue, 18 Sep 2012 10:34:58 +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 jutHlogRToGU for ; Tue, 18 Sep 2012 10:34:57 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 4A394101E2 for ; Tue, 18 Sep 2012 10:34:57 +0200 (CEST) Original-Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8I8WiHp010741 for ; Tue, 18 Sep 2012 10:32:47 +0200 Original-Received: by lbon3 with SMTP id n3so5877778lbo.14 for ; Tue, 18 Sep 2012 01:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2A+KjbsuvKtOMfMwkjZoIm4HGDr67Cqyg1I5V+MNbdo=; b=Gq1Q+M5p/pS6Ce3LqfkkYB9pP/Fg/RJlNjSDEkku64yDijWy/iQ4++tAJfjVEoblGc H6OP4RrExfsuPv25aY6lAbKEKpY9NZqHEjNDK6wtKofBpTCdtFVd7K0rWjPQ7B1R27hY Sdzvp7pok8I2/FsOW4/wrcqK3lglyrlCD62EMOw6jM7FmxWcQqusesm5+vm9fdesTeNx swNPoxTgldC1rR+X6O/uo1pYtbAv0WXZBL3Me42G8GUnkwg65vo+wuYW+DCu713EhfuY TzXi4mhM77xTeVpQ4cOR7NcHjCiblJHpviQAzv6wy2bBtNQd7e11tkbVXhpW+cGirH7D VCVg== Original-Received: by 10.112.25.167 with SMTP id d7mr4669885lbg.74.1347957293705; Tue, 18 Sep 2012 01:34:53 -0700 (PDT) Original-Received: by 10.112.126.73 with HTTP; Tue, 18 Sep 2012 01:34:53 -0700 (PDT) In-Reply-To: <50582E7A.6050601@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.217.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WI0wwIsw - 7472f6cf64fe - 20120918 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78352 Archived-At: --===============0291115999== Content-Type: multipart/alternative; boundary=bcaec553feb6a9e98304c9f5c396 --bcaec553feb6a9e98304c9f5c396 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Sep 18, 2012 at 10:19 AM, Hans Hagen wrote: > On 18-9-2012 09:10, Proch=C3=A1zka Luk=C3=A1=C5=A1 Ing. - Pontex s. r. o.= wrote: > >> Hello, >> >> http://www.nongnu.org/gsl-**shell/doc/ >>> >> >> it looks useful... >> >> So far, I can't see any binding between GSL's 'graph.plot*()' and any >> output that would be accepted by ConTeXt; e.g. no .png nor MP code can >> be produced from GSL. >> > > it should not be to hard (for luigi, given his mf project) to add output > to mp > > there are save(filename[, w, h]) Save the plot in a file in a bitmap image format. The first argument is the file name without extension while the other optional arguments are the width and the height in pixels of the image. The format used is BMP on windows and PPM on Linux. save_svg(filename[, w, h]) Save the plot in the given filename in SVG format. Two optional parameters can be given to specify the width and height of the drawing area. If the =E2=80=9Csvg=E2=80=9D extension is not given it will be automatically added= . They can managed with imagemagick/inkscape On the other side, I often manage to export a kind of lua table (if possible) and use lua /mplib of context to produce a single pdf of each graph. --=20 luigi --bcaec553feb6a9e98304c9f5c396 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Tue, Sep 18, 2012 at 10:19 AM, Hans H= agen <pragma@wxs.nl> wrote:
On 18-9-2012 09:10, Proch=C3=A1zka Luk=C3=A1=C5=A1 Ing. -= Pontex s. r. o. wrote:
Hello,

http://w= ww.nongnu.org/gsl-shell/doc/

it looks useful...

So far, I can't see any binding between GSL's 'graph.plot*()= 9; and any
output that would be accepted by ConTeXt; e.g. no .png nor MP code can
be produced from GSL.

it should not be to hard (for luigi, given his mf project) to add output to= mp

=C2=A0
t= here are
save(filename[, w, h])
Save t= he plot in a file in a bitmap image format. The first argument is the file = name without extension while the other optional arguments are the width and= the height in pixels of the image. The format used is BMP on windows and P= PM on Linux.

save_svg(filename[, w, h])
Save the plot in t= he given filename in SVG format. Two optional parameters can be given to sp= ecify the width and height of the drawing area. If the =E2=80=9Csvg=E2=80= =9D extension is not given it will be automatically added.

They can managed with imagemagick/inkscape
<= div>
On the other side, I often manage to export a kind of lu= a table (if possible) and use lua /mplib of context to produce a single pdf= of each graph.

--
luigi

--bcaec553feb6a9e98304c9f5c396-- --===============0291115999== 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 ___________________________________________________________________________________ --===============0291115999==--