From: Andy Wingo <wingo@pobox.com>
To: guile-user <guile-user@gnu.org>
Subject: ANN: Guile-Charting 0.1.0 released
Date: Fri, 08 Jun 2007 18:16:06 +0200 [thread overview]
Message-ID: <1181319366.4168.6.camel@localhost.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 1652 bytes --]
Hey all,
While doing benchmarking and profiling on Guile, I wanted to make bar
graphs with standard-deviation tickers. I couldn't get Gnumeric or
Openoffice to do it, for various reasons. I then realized that it
wouldn't be too bad to do it all in Guile, using Guile-Cairo, and a day
and a half later here we are!
Guile-Charting currently only makes bar charts, but it's something of a
toolkit so you can use the pieces to make other kinds of charts. A
simple invocation would be:
(make-bar-chart "Average Height at Iihenda JSS"
'(("Grade 9" (150 "Boys") (140 "Girls"))
("Grade 10" (153 "Boys") (147 "Girls")))
:write-to-png "/tmp/graph.png")
A slightly more involved invocation would be:
(define *data*
'(("Initialization"
(0.0737 "Python 2.5.1c1" (:y-bracket 0.00264764045897))
(0.0822 "Guile 1.6.8" (:y-bracket 0.00208806130178))
(0.1444 "Guile 1.8 CVS" (:y-bracket 0.00645290632196)))
("(use-modules (oop goops))"
(0.1357 "Guile 1.6.8" (:y-bracket 0.00651579278028))
(0.2766 "Guile 1.8 CVS" (:y-bracket 0.02164973697556)))))
(make-bar-chart "Guile Benchmarks" *data*
:write-to-png "/tmp/guile-benchmarks.png"
:bar-width 40 :group-spacing 40 :chart-height 240
:chart-params
'(:y-axis-label "Wall-clock execution time (s)"))
Guile-Charting has a web site:
http://wingolog.org/software/guile-charting/
There's even documentation! See the web site for more. Download the
tarball at:
http://wingolog.org/pub/guile-charting/guile-charting-0.1.0.tar.gz
Cheers,
Andy.
--
http://wingolog.org/
[-- Attachment #2: guile-benchmarks.png --]
[-- Type: image/png, Size: 14869 bytes --]
[-- Attachment #3: Type: text/plain, Size: 140 bytes --]
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next reply other threads:[~2007-06-08 16:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-08 16:16 Andy Wingo [this message]
2007-06-11 2:40 ` ANN: Guile-Charting 0.1.0 released steve tell
2007-06-12 21:51 ` Andy Wingo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1181319366.4168.6.camel@localhost.localdomain \
--to=wingo@pobox.com \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).