mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-21 17:19:31 +00:00
827 B
827 B
The Library of Babel — off-the-shelf functions for data analysis and plotting using org-babel
Full text of the Borges short story
(setq lob (org-babel-lob-parse-buffer)) (setq x (gethash 'plot lob)) (hash-table-count lob) (maphash (lambda (key val) (insert key)) lob)
Plotting code
Plot column 2 (y axis) against column 1 (x axis). Columns 3 and beyond, if present, are ignored.
0 | 0 |
plot(data)
1 | 2 |
2 | 4 |
3 | 9 |
4 | 16 |
5 | 25 |