Bug with large values with chart.simple

2 views
Skip to first unread message

yiding

unread,
Dec 15, 2010, 5:21:15 AM12/15/10
to Haskell Charts
I tried to run this, which seems to consume lots of memory before
giving up:
plotPNG "/tmp/test-image.png" [1,2] [-123456789123456789.0,
-123456789123456789.0]

This, on the other hand, is fine:
plotPNG "/tmp/test-image.png" [1,2] [-123456789123456789.0, 0]

Tim Docker

unread,
Dec 24, 2010, 12:02:48 PM12/24/10
to haskell...@googlegroups.com
On 15/12/10 04:21, yiding wrote:
> I tried to run this, which seems to consume lots of memory before
> giving up:
> plotPNG "/tmp/test-image.png" [1,2] [-123456789123456789.0,
> -123456789123456789.0]

Sorry for the delay in response. This is occurring when all of the
values to be plotted on a linear axis are equal, and are of a large
magnitude (> 1e16 approx). I've pushed a small patch to correct the problem.

Tim

Reply all
Reply to author
Forward
0 new messages