mirror of https://github.com/djcb/mu.git
* guile: fix logic inversion in plot generation
This commit is contained in:
parent
c3de1bdb1a
commit
3ea8b1fe8c
|
@ -84,7 +84,7 @@ display, otherwise, use a graphical window."
|
|||
"--what=<per-hour|per-day|per-month|per-year> [searchexpr]\n"))
|
||||
(help (option-ref options 'help #f))
|
||||
(what (option-ref options 'what #f))
|
||||
(text (option-ref options 'text #t))
|
||||
(text (option-ref options 'text #f))
|
||||
(muhome (option-ref options 'muhome #f))
|
||||
(restargs (option-ref options '() #f))
|
||||
(expr (if restargs (string-join restargs) "")))
|
||||
|
|
|
@ -40,7 +40,7 @@ using raw text, otherwise, use a graphical window."
|
|||
(gnuplot (open-pipe "gnuplot -p" OPEN_WRITE)))
|
||||
(display (string-append
|
||||
"reset\n"
|
||||
"set term " (if ascii "wxt" "dumb") "\n"
|
||||
"set term " (if ascii "dumb" "wxt") "\n"
|
||||
"set title \"" title "\"\n"
|
||||
"set xlabel \"" x-label "\"\n"
|
||||
"set ylabel \"" y-label "\"\n"
|
||||
|
|
Loading…
Reference in New Issue