This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

Graphics in SBCL

5 posts · 6825 views

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

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

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.
Sorry for my bad english.
Visit my blog http://blog.uxul.de/

Re: Graphics in SBCL

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

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.