* guile: fix logic inversion in plot generation

This commit is contained in:
djcb 2012-01-22 11:03:47 +02:00
parent c3de1bdb1a
commit 3ea8b1fe8c
2 changed files with 2 additions and 2 deletions

View File

@ -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) "")))

View File

@ -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"