Hi,
The rationale behind developing the plot package is a desire to target users as well as programmers.
The plot interface provides monadic construction of figures, very similar in style to the way a gnuplot script or matlab script/function would be structured (especially with the Simple interface). I am looking forward to being able to use GHCi instead of matlab, and the plot-gtk companion package provides a way to incrementally update a plot on screen. I think that this is where the design difference occurs.
Looking at the Chart interface, I was confronted with myriad data types and functions. Yes, the plots look nice, but, as I have been told, the Chart interface can be overwhelming for a mathematics user cf. haskell programmerr.
Also, the plot package uses Pango, so unicode should work out of the box (for greek symbols and the like).
Cheers,
Vivian
On 1 October 2010 15:12, Vivian McPhail
<haskell.vivian.mcphail@gmail.com> wrote:
> Hi
>
>>Message-ID: <AANLkTinROzNiqF4+yKxOfHo0FB=3B_7tfduX=vVbggYC@mail.gmail.com>
>>
>>Hi -
>>
>>What are the libraries to use in Haskell to generate a stock
>>candlestick chart like
>>http://stockcharts.com/h-sc/ui?s=SPY&p=D&b=5&g=5&id=p05007254056
>>
>>I will use Finance-Quote-Yahoo to get the quote data from Yahoo.
>>
>>thanks for all your help.
> The plot 0.1.1 package supports candle and whisker charts.
>
> http://hackage.haskell.org/plot
That URL should of course be http://hackage.haskell.org/package/plot
However, I'm curious: what is the rationale behind you developing plot
rather than you helping Tim extend Chart?
--
Ivan Lazar Miljenovic
Ivan.Miljenovic@gmail.com
IvanMiljenovic.wordpress.com