aesthetic updates to documentation
[rgr-org-mode.git] / library-of-babel.org
blob1abacc6bed7e454349b484905f013617df253f1b
1 #+title: The Library of Babel
2 #+SEQ_TODO: TODO PROPOSED | DONE DEFERRED REJECTED
3 #+OPTIONS: H:3 num:nil toc:t
4 #+STARTUP: odd hideblocks
6 #+begin_html 
7   <div id="subtitle">
8     <p>off-the-shelf functions for data analysis and plotting using <a href="org-babel-worg.html">org-babel</a></p>
9   </div>
10   <div id="logo">
11     <p>
12       <img src="images/library-of-babel.png"  alt="images/tower-of-babel.png" />
13       <div id="attr"><a href="http://downlode.org/Etext/library_of_babel.html">Full text of the Borges short story</a></div>
14     </p>  
15   </div>
16 #+end_html
18 * Plotting code
19   Plot column 2 (y axis) against column 1 (x axis). Columns 3 and beyond, if present, are ignored.
21 #+srcname: R-plot(data=R-plot-example-data)
22 #+begin_src R :session *R*
23 plot(data)
24 #+end_src
26 #+tblname: R-plot-example-data
27 | 1 |  2 |
28 | 2 |  4 |
29 | 3 |  9 |
30 | 4 | 16 |
31 | 5 | 25 |
33 #+lob: R-plot(data=R-plot-example-data)
35 #+resname: R-plot(data=R-plot-example-data)
36 : nil
38 * Etc
39 #+srcname: python-identity(a=1)
40 #+begin_src python
42 #+end_src
44 #+srcname: python-add(a=1, b=2)
45 #+begin_src python
46 a + b
47 #+end_src