Gnuplot Histograms

Ryan Adams <[email protected]> Thu, 16 Jun 2005 20:29:44 +0100
Newsgroups gmane.lisp.clocc.general
Message-ID <1118950184.13115.14.camel@quintana>
Hello All:

I've installed CLOCC under CMUCL and I've been trying to use the Gnuplot
functionality in cllib to generate graphs.  I have been successful with
plot-functions and plot-lists, but I have not been able to get
plot-histogram to work.  I have the latest CVS snapshot
(clocc-02-08-05.tgz).

When I do this:

(cllib:plot-histogram (list 1 2 1 3 4 5 1 3 3 5) 5)

I get this error:

Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:
   NIL is not of type BASE-STRING
   [Condition of type TYPE-ERROR]

Restarts:
  0: [ABORT] Abort handling SLIME request.
  1: [ABORT] Return to Top-Level.

Backtrace:
  0: ("DEFSTRUCT (PLOT-AXIS (:CONC-NAME PLAX-))" 268431297
14)[:OPTIONAL]
  1: (CLLIB::MAKE-PLOT :DATA #<Closure Over Function (FLET
#:WPS-BODY-FUNCTION-2 CLLIB:PLOT-HISTOGRAM) {586F5431}> :PLOT :PLOT ...)
  2: (CLLIB::INTERNAL-WITH-PLOT-STREAM #<Closure Over Function (FLET
#:WPS-BODY-FUNCTION-2 CLLIB:PLOT-HISTOGRAM) {586F5431}> :TITLE
"histogram" :DATA-STYLE ...)

I am a Lisp novice, so it may well be that I've done something dumb.
It's worth mentioning that I can replicate this on another machine as
well.  Any ideas?

Thanks in advance.

Ryan Adams




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click