Hi, As Luigi hasn't posted a link in a while ... here is one that looks interesting http://www.nongnu.org/gsl-shell/doc/ (would fit nicely in luatex a library given that tex as system for typesetting is used for scientific publishing) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Mon, Sep 17, 2012 at 11:16 PM, Hans Hagen
Hi,
As Luigi hasn't posted a link in a while ... here is one that looks interesting
http://www.nongnu.org/gsl-**shell/doc/http://www.nongnu.org/gsl-shell/doc/
(would fit nicely in luatex a library given that tex as system for typesetting is used for scientific publishing)
I've (of course...) already built a binding for gsl and I keep an eye on it. Until two days ago the problem was luajit: but on September 16 http://www.freelists.org/post/luajit/Support-for-goto-and-labels-added so, considering the move from lua 5.1 to lua 5.2, it's reasonable to start to think at luajittex (well, at least for me) . -- luigi
On 18-9-2012 08:38, luigi scarso wrote:
On Mon, Sep 17, 2012 at 11:16 PM, Hans Hagen
wrote: Hi,
As Luigi hasn't posted a link in a while ... here is one that looks interesting
http://www.nongnu.org/gsl-**shell/doc/http://www.nongnu.org/gsl-shell/doc/
(would fit nicely in luatex a library given that tex as system for typesetting is used for scientific publishing)
I've (of course...) already built a binding for gsl and I keep an eye on it. Until two days ago the problem was luajit: but on September 16 http://www.freelists.org/post/luajit/Support-for-goto-and-labels-added so, considering the move from lua 5.1 to lua 5.2, it's reasonable to start to think at luajittex (well, at least for me) .
Interesting. So it works well as a library? I'm not so sure if we gain much with jit in luatex but it's worth a try. It would also be interesting to see how the 5.2 garbage collector works out (as well as the new string has implementation). Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hello,
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 would be nice to have them as it seems many computations could be solved by GSL and it would be good to have a way to put the graphical results to ConTeXt. Lukas -- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
On 18-9-2012 09:10, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
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 Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Tue, Sep 18, 2012 at 10:19 AM, Hans Hagen
On 18-9-2012 09:10, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
http://www.nongnu.org/gsl-**shell/doc/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 “svg” 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. -- luigi
participants (3)
-
Hans Hagen
-
luigi scarso
-
Procházka Lukáš Ing. - Pontex s. r. o.