Edit file File name : org-plot.elc Content :;ELC ;;; Compiled ;;; in Emacs version 26.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\207" [require cl-lib org org-table] 2) #@56 Default options to gnuplot used by `org-plot/gnuplot'. (defvar org-plot/gnuplot-default-options '((:plot-type . 2d) (:with . lines) (:ind . 0)) (#$ . 495)) (defvar org-plot-timestamp-fmt nil) #@115 Parse an OPTIONS line and set values in the property list P. Returns the resulting property list. (fn P OPTIONS) (defalias 'org-plot/add-options-to-plist #[514 "\211\203i \300\301\302\303\211\203g \211@\211@\235\203C \304\305@!P#\203` \303\225\262\306A\307\310\311\f\"!@\312\fA\"B#\262\202 \304\305@!P\"\203` \306A\307\310\311\f\"!@#\262A\266\202\202 \266\207" [(("type" . :plot-type) ("script" . :script) ("line" . :line) ("set" . :set) ("title" . :title) ("ind" . :ind) ("deps" . :deps) ("with" . :with) ("file" . :file) ("labels" . :labels) ("map" . :map) ("timeind" . :timeind) ("timefmt" . :timefmt)) ("set" "line") ":\\([\"][^\"]+?[\"]\\|[(][^)]+?[)]\\|[^ \n ;,.]*\\)" 0 string-match regexp-quote plist-put read-from-string match-string 1 plist-get] 15 (#$ . 694)]) #@116 Move the point forward to the beginning of nearest table. Return value is the point at the beginning of the table. (defalias 'org-plot/goto-nearest-table #[0 "\300\301!\210\302 \204 \303\301yW\203 \304 b\207" [move-beginning-of-line 1 org-at-table-p 0 org-table-begin] 2 (#$ . 1505) nil]) #@189 Collect options from an org-plot `#+Plot:' line. Accepts an optional property list PARAMS, to which the options will be added. Returns the resulting property list. (fn &optional PARAMS) (defalias 'org-plot/collect-options #[256 "\300\301!\302\303\"\203 \304\305\306\"\"\202 \207" [thing-at-point line string-match "#\\+PLOT: +\\(.*\\)$" org-plot/add-options-to-plist match-string 1] 7 (#$ . 1803) nil]) #@76 Convert field S from timestamp to Unix time and export to gnuplot. (fn S) (defalias 'org-plot-quote-timestamp-field #[257 "\301\302!\"\207" [org-plot-timestamp-fmt format-time-string org-time-string-to-time] 5 (#$ . 2220)]) #@46 Quote field S for export to gnuplot. (fn S) (defalias 'org-plot-quote-tsv-field #[257 "\302\"\203 \207\302 \"\203 \303!\207\304\305\306\307\304\"\310#\304Q\207" [org-table-number-regexp org-ts-regexp3 string-match org-plot-quote-timestamp-field "\"" mapconcat identity split-string "\"\""] 7 (#$ . 2453)]) #@154 Export TABLE to DATA-FILE in a format readable by gnuplot. Pass PARAMS through to `orgtbl-to-generic' when exporting TABLE. (fn TABLE DATA-FILE PARAMS) (defalias 'org-plot/gnuplot-to-data #[771 "\301\302\303!!\304\305\306\307\310!\311\"\312$\216r\211q\210\313\300!\210\314\315\"\206\"