[clnuplot-devel] Fwd: patch: xticlabels for box plot

david thompson thompdump at gmail.com
Thu Jan 29 17:25:50 UTC 2009


This didn't seem to "go through" for some reason -- figured I'd try again...

Date: Thu, 22 Jan 2009 08:35:50 -0800
Subject: patch: xticlabels for box plot
To: clnuplot-devel at common-lisp.net

I had some interest in putting labels
on the x axis with a box plot -- i.e., being able to do something like

CLNUPLOT> (write-plot (clnuplot:make-plot
  :bar
  '((1 2 "a") (2 2.5 "b") (3 3.1 "c"))
  :linewidth 3.0
  :key "off"
  :filename "bar12"
  :xlabel "Bin Number"
  :ylabel "Dance Partners"
  :x-coord #'first
  :y-coord #'second
  :title "Bin Number versus Dance Partners"
  :ymin 0.0) :postscript)
#<GNUPLOT {B5EFB49}>
CLNUPLOT>


If interested, the attached diff should support the above syntax... The main
changes:
- extending the data points for the box plot type so that there is a fourth
'column', the label column
- altering the plot command to use xticlabels


Thanks for putting together CLNUPLOT,

Alan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plots.lisp.patch
Type: text/x-patch
Size: 2035 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/clnuplot-devel/attachments/20090129/7f07ee93/attachment.bin>


More information about the Clnuplot-devel mailing list