[clnuplot-devel] patch: xticlabels for box plot

david thompson thompdump at gmail.com
Thu Jan 22 16:35:58 UTC 2009


Thanks for putting together CLNUPLOT. 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 again,

Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/clnuplot-devel/attachments/20090122/5620ca66/attachment.html>
-------------- 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/20090122/5620ca66/attachment.bin>


More information about the Clnuplot-devel mailing list