[Chart] Chart Digest, Vol 7, Issue 4
Tim Docker
tim at dockerz.net
Mon Oct 22 10:11:03 BST 2012
Both of these sound useful. A patch would be great. Please include tests
for the suite that demonstrate the new features.
Tim
On 22/10/12 18:29, Sacha Sokoloski wrote:
> So I've implemented the marching squares algorithm for making contour
> plots in Haskell. It depends on containers in order to work, but other
> than that, it's pure simple haskell code. In order to render them more
> nicely, I'm working on an algorithm for making smooth line plots using
> the bezel line drawing functionality of cairo.
>
> I was planning on building that into the PlotLines datatype.
> Basically, the degree of smoothing can be controlled with a single
> parameter, with 0 being off. So one of the accessors to PlotLines
> would be 'smoothing' which defaults to 0, but when increased will
> smooth your plot.
>
> If both of these sound like nice features, I'll wrap up a patch and
> send it.
>
> - Sacha
More information about the Chart
mailing list