From: "Hezekiah M. Carty" <hcarty@atmos.umd.edu>
To: caml-list@inria.fr
Subject: Re: [Caml-list] 2D graphing and charting
Date: Thu, 8 Nov 2007 11:05:11 -0500 [thread overview]
Message-ID: <3a360f590711080805i45f1302akce74cf0002fb4eb1@mail.gmail.com> (raw)
In-Reply-To: <200711080353.38303.jon@ffconsultancy.com>
I forgot to reply to the list, and to mention PsiLab
On 11/7/07, Jon Harrop <jon@ffconsultancy.com> wrote:
>
> I've been using Mathematica to render the graphs on our site, like the ray
> tracer language comparison:
>
> http://www.ffconsultancy.com/languages/ray_tracer/results.html
>
> What free OCaml software might I use to do the same thing?
>
> --
> Dr Jon D Harrop, Flying Frog Consultancy Ltd.
> http://www.ffconsultancy.com/products/?e
There is at least one partial plplot (http://plplot.sourceforge.net/)
binding already in existence
(http://vityok.org.ua/cgi-bin/odd.cgi/Ocaml-plplot), and I'm working
on another one using camlidl rather than Swig.
I haven't put my code out yet because I'd like to finish up some of
the 3D plotting function wrappers first, but if you're interested in
having something sooner I could put out what I have currently. There
is enough there to do 2D plots, and the naming follows the C-library
quite closely.
The already-mentioned gnuplot binding seems to work reasonably as
well, though I've only made very basic 2D plots with it.
PsiLab (http://psilab.sourceforge.net/) is older, and based on OCaml
3.01 or 3.02 I think. But I've been able to get it to build on recent
Linux distributions. It has a fairly high-level binding to the plplot
libraries which is quite easy to use. I have dreams of some day
updating it to work with recent OCaml releases. It might also be a
decent start for a Mathematica-like toplevel with inline plots and so
on if the toplevel customizations could be tied in to labltk or
lablgtk. I don't know how possible this is though.
Hez
next prev parent reply other threads:[~2007-11-08 16:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-08 3:53 Jon Harrop
2007-11-08 4:15 ` [Caml-list] " Till Varoquaux
2007-11-08 16:05 ` Hezekiah M. Carty [this message]
2007-11-09 1:44 ` Peng Zang
2007-11-09 6:36 ` Paul Pelzl
2007-11-10 13:22 ` Vu Ngoc San
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3a360f590711080805i45f1302akce74cf0002fb4eb1@mail.gmail.com \
--to=hcarty@atmos.umd.edu \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox