I need to plot data evaluated in org-mode. Referring to #+RESULTS:
returns
org-babel-ref-resolve: Reference ‘myResult’ not found in this buffer
whereas referring to #+tblname:
works.
#+RESULTS: myResult
| 2057-01-01 | 10 |
| 2057-01-02 | 5 |
| 2057-01-03 | 3 |
| 2057-01-04 | 2 |
#+name: myTable
| 2057-01-01 | 10 |
| 2057-01-02 | 5 |
| 2057-01-03 | 3 |
| 2057-01-04 | 2 |
Note the failing reference data=myResult
, while data=myTable
works.
#+begin_src gnuplot :var data=myTable :exports code :file basic-plot.png
set xdata time
set timefmt "%Y-%m-%d"
plot data u 1:2 with linespoints
What did I miss here https://orgmode.org/worg/org-contrib/babel/intro.html#results in order to refer to RESULTS?