It would give users even more flexibility if they had the capability not only to explicitly define the location of the gnuplot 'data' file ( http://common-lisp.net/pipermail/clnuplot-devel/2009-February/000008.html) but to also have the capability to explicitly specify the location of the rendered (graphical) version of the chart/plot.
Something like
(defun fullname-rendered (plot type) (let ((fullpath (fullpath plot))) (namestring (make-pathname ;; strip type info :name (pathname-name fullpath) :directory (pathname-directory fullpath) :type type))))
and then a modification of each 'set output' line for gnuplot (in the various WRITE-PLOT definitions) to something like
(format out "set output '~A'~C" (fullname-rendered plot "ps") #\Linefeed))
seems like it would do the trick...
- Alan
Hi David (Alan?).
good idea. I'll add this sometime this week.
On Feb 9, 2009, at 11:05 AM, david thompson wrote:
It would give users even more flexibility if they had the capability not only to explicitly define the location of the gnuplot 'data' file (http://common-lisp.net/pipermail/clnuplot-devel/2009-February/000008.html ) but to also have the capability to explicitly specify the location of the rendered (graphical) version of the chart/plot.
Something like
(defun fullname-rendered (plot type) (let ((fullpath (fullpath plot))) (namestring (make-pathname ;; strip type info :name (pathname-name fullpath) :directory (pathname-directory fullpath) :type type))))
and then a modification of each 'set output' line for gnuplot (in the various WRITE-PLOT definitions) to something like
(format out "set output '~A'~C" (fullname-rendered plot "ps") #\Linefeed))
seems like it would do the trick...
- Alan
clnuplot-devel mailing list clnuplot-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/clnuplot-devel
-- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM * gwking on twitter
clnuplot-devel@common-lisp.net