Re: [Haskell-cafe] Chart plotting libraries

2007-11-16 Thread David Roundy
On Thu, Nov 15, 2007 at 10:35:06PM -, 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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Chart plotting libraries

2007-11-15 Thread David Roundy
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:
 
 http://dockerz.net/twd/HaskellCharts

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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Chart plotting libraries

2007-11-15 Thread Graham Fawcett
On Nov 15, 2007 10:33 AM, David Roundy [EMAIL PROTECTED] wrote:
 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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Chart plotting libraries

2007-11-15 Thread Tim Docker
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



___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Chart plotting libraries

2007-11-14 Thread Tim Docker
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,

 http://dockerz.net/twd/HaskellCharts

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


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Chart plotting libraries

2007-11-14 Thread Don Stewart
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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe