
I'd like some free software to help me plot charts like the one from the ray tracer language comparison: http://www.ffconsultancy.com/languages/ray_tracer/results.html I was using Mathematica but its stopped working and an upgrade is £2,000. Are there Haskell bindings to any free libraries or even Haskell implementations that would make something like this painless? There isn't anything for OCaml (that I'm not still writing ;-) so this might be a good opportunity to force me to do a little more Haskell. :-) -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/products/?e

jon:
I'd like some free software to help me plot charts like the one from the ray tracer language comparison:
http://www.ffconsultancy.com/languages/ray_tracer/results.html
I was using Mathematica but its stopped working and an upgrade is £2,000. Are there Haskell bindings to any free libraries or even Haskell implementations that would make something like this painless?
There isn't anything for OCaml (that I'm not still writing ;-) so this might be a good opportunity to force me to do a little more Haskell. :-)
A quick search of hackage.haskell.org, http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Chart-2007.8.8 Using gtk and cairo. Homepage here: http://dockerz.net/twd/HaskellCharts -- Don

don:
jon:
I'd like some free software to help me plot charts like the one from the ray tracer language comparison:
A quick search of hackage.haskell.org,
I need to update the package to build under ghc-6.8.1, though I think it's just a change to the cabal config, rather than any to any code. As of 6.8.1 it needs to depends on the "new" package called "old-locale-1.0.0.0". Presumably this API is intended to become deprecated, though I don't see a replacement. Tim

Tim Docker wrote:
don:
jon:
I'd like some free software to help me plot charts like the one from the ray tracer language comparison:
A quick search of hackage.haskell.org,
I need to update the package to build under ghc-6.8.1, though I think it's just a change to the cabal config, rather than any to any code.
As of 6.8.1 it needs to depends on the "new" package called "old-locale-1.0.0.0". Presumably this API is intended to become deprecated, though I don't see a replacement.
Data.Time.*, including Data.Time.Clock and Data.Time.Format, are the "new-style" API to times and dates, but they still use the TimeLocale data type from old-locale, so I guess that time-1.1.2 still "depends on" old-locale-1.0.0.0. I agree it seems strange because the naming convention "old-" does appear to suggest deprecation. Jules

On Wed, Nov 14, 2007 at 10:36:06PM -0800, Don Stewart wrote:
jon:
I'd like some free software to help me plot charts like the one from the ray tracer language comparison:
http://www.ffconsultancy.com/languages/ray_tracer/results.html
I was using Mathematica but its stopped working and an upgrade is £2,000. Are there Haskell bindings to any free libraries or even Haskell implementations that would make something like this painless?
There isn't anything for OCaml (that I'm not still writing ;-) so this might be a good opportunity to force me to do a little more Haskell. :-)
A quick search of hackage.haskell.org,
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Chart-2007.8.8
Using gtk and cairo. Homepage here:
Chart has rather a complicated API. I've written a simpler API (but somewhat less flexible), if anyone's interested (Tim wasn't). My API is closer in complexity (of use) to matlab's plotting. -- David Roundy Department of Physics Oregon State University

droundy:
Chart has rather a complicated API. I've written a simpler API (but somewhat less flexible), if anyone's interested (Tim wasn't). My API is closer in complexity (of use) to matlab's plotting.
I'd describe the API as verbose rather than complicated. It takes 5-10 lines of haskell to define a chart - see the examples on the web page. I think this is fine for use within other code, but I agree is too much typing for interactive use. Tim

On Thu, Nov 15, 2007 at 10:35:06PM -0000, Tim Docker wrote:
droundy:
Chart has rather a complicated API. I've written a simpler API (but somewhat less flexible), if anyone's interested (Tim wasn't). My API is closer in complexity (of use) to matlab's plotting.
I'd describe the API as verbose rather than complicated. It takes 5-10 lines of haskell to define a chart - see the examples on the web page. I think this is fine for use within other code, but I agree is too much typing for interactive use.
Okay, verbose then. 5-10 lines to define a chart is 4-9 lines too many. -- David Roundy Department of Physics Oregon State University

On Nov 15, 2007 10:33 AM, David Roundy
Chart has rather a complicated API. I've written a simpler API (but somewhat less flexible), if anyone's interested (Tim wasn't). My API is closer in complexity (of use) to matlab's plotting.
I'd be interested, for one. Cheers, Graham Graham Fawcett Centre for Teaching and Learning University of Windsor
participants (6)
-
David Roundy
-
Don Stewart
-
Graham Fawcett
-
Jon Harrop
-
Jules Bean
-
Tim Docker