1 --- a/src/gnuplot/gnuplot.lisp
2 +++ b/src/gnuplot/gnuplot.lisp
5 (in-package :math/gnuplot)
7 -(defparameter *default-gnuplot-direcroty*
8 - (ensure-directories-exist #P"~/gnuplot/"))
11 +(defun default-gnuplot-directory ()
12 + (let ((directory (merge-pathnames
13 + (make-pathname :directory '(:relative "gnuplot"))
14 + (user-homedir-pathname))))
15 + (ensure-directories-exist directory)))
17 ;;;; (directory-namestring *default-gnuplot-direcroty*)
20 (assert (stringp f-name))
21 (assert (stringp f-ext))
22 (if (string= "" f-ext)
23 - (concatenate 'string (directory-namestring *default-gnuplot-direcroty*)
24 + (concatenate 'string (directory-namestring (default-gnuplot-directory))
26 - (concatenate 'string (directory-namestring *default-gnuplot-direcroty*)
27 + (concatenate 'string (directory-namestring (default-gnuplot-directory))
30 (defun find-font-family (&key (family "Times New Roman"))
32 Diff finished. Fri Mar 10 20:05:26 2023