Page 1 of 1

Graphics in SBCL

PostPosted: Tue Oct 07, 2008 10:46 am
by PMla1730
As a prospective SBCL user I would like to know what graphics facilities are available for (1) monitoring the progress of a long running program (eg in Genetic Programming) and also (2) for the more general situation of displaying program results (eg graphs and statistics, not animation).

Re: Graphics in SBCL

PostPosted: Tue Oct 07, 2008 11:56 am
by tlareywi
In the past, I've just output to a text file in GNU plot format and refreshed the plot when I wanted to see an update. There's also http://www.cl-user.net/asp/libs/cl-plplot (never used it). If you need something more interactive or beyond text and plots, you can also check into the lisp SDL bindings, lispbuilder-sdl.

Re: Graphics in SBCL

PostPosted: Tue Oct 07, 2008 5:33 pm
by schoppenhauer
i am using lispbuilder-sdl for most graphical things (since it is very easy). sometimes (when i need graphic-files) i also use cl-gd, a cffi-binding for libgd.

Re: Graphics in SBCL

PostPosted: Tue Oct 07, 2008 6:23 pm
by Exolon
PMla1730 wrote:As a prospective SBCL user I would like to know what graphics facilities are available for (1) monitoring the progress of a long running program (eg in Genetic Programming) and also (2) for the more general situation of displaying program results (eg graphs and statistics, not animation).

Hi,

Just out of curiosity, what information do you intend to visualise and how? In my GP runs I just echo the best fitness found so far after each tournament. I suppose a plot of the fitness values over time would be nice as a quick visual update on how well things are progressing.

Re: Graphics in SBCL

PostPosted: Wed Oct 08, 2008 6:28 am
by vityok
I would recommend to pay a little bit of attention to ADW-CHARTING and VECTO packages. The first is for plotting various charts and the second is for drawing images using vector operations.