Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* merge branch 'master' of github.com:djcb/mu

  • Loading branch information...
commit f3c6bb898579880fa1f2ce8153d11e172add6424 2 parents ca90c99 + 0f79380
@djcb authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  guile/mu/plot.scm
View
3  guile/mu/plot.scm
@@ -46,7 +46,7 @@ not found."
progpath
#f))))
2
-(define* (mu:plot-histogram data title x-label y-label #:optional (text-only #f))
+(define* (mu:plot-histogram data title x-label y-label #:optional (text-only #f) (extra-gnuplot-opts '()))
"Plot DATA with TITLE, X-LABEL and X-LABEL. If TEXT-ONLY is true,
display using raw text, otherwise, use a graphical window. DATA is a
list of cons-pairs (X . Y)."
@@ -62,6 +62,7 @@ list of cons-pairs (X . Y)."
"set xlabel \"" x-label "\"\n"
"set ylabel \"" y-label "\"\n"
"set boxwidth 0.9\n"
+ (string-join extra-gnuplot-opts "\n")
"plot \"" datafile "\" using 2:xticlabels(1) with boxes fs solid\n")
gnuplot)
(close-pipe gnuplot)))
Please sign in to comment.
Something went wrong with that request. Please try again.