Function: org-plot/gnuplot-to-data

org-plot/gnuplot-to-data is a byte-compiled function defined in org-plot.el.gz.

Signature

(org-plot/gnuplot-to-data TABLE DATA-FILE PARAMS)

Documentation

Export TABLE to DATA-FILE in a format readable by gnuplot.

Pass PARAMS through to orgtbl-to-generic when exporting TABLE.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-plot.el.gz
(defun org-plot/gnuplot-to-data (table data-file params)
  "Export TABLE to DATA-FILE in a format readable by gnuplot.
Pass PARAMS through to `orgtbl-to-generic' when exporting TABLE."
  (with-temp-file
      data-file
    (setq-local org-plot-timestamp-fmt (or
					(plist-get params :timefmt)
					"%Y-%m-%d-%H:%M:%S"))
    (insert (orgtbl-to-generic
	     table
	     (org-combine-plists
	      '(:sep "\t" :fmt org-plot-quote-tsv-field)
	      params))))
  nil)