This is the official manual for the latest Org-mode release.
Org-Plot can produce 2D and 3D graphs of information stored in org tables
using Gnuplot http://www.gnuplot.info/ and gnuplot-mode
http://xafs.org/BruceRavel/GnuplotMode. To see this in action, ensure
that you have both Gnuplot and Gnuplot mode installed on your system, then
org-plot/gnuplot on the following table.
#+PLOT: title:"Citas" ind:1 deps:(3) type:2d with:histograms set:"yrange [0:]" | Sede | Max cites | H-index | |-----------+-----------+---------| | Chile | 257.72 | 21.39 | | Leeds | 165.77 | 19.68 | | Sao Paolo | 71.00 | 11.50 | | Stockholm | 134.19 | 14.33 | | Morelia | 257.56 | 17.67 |
Notice that Org Plot is smart enough to apply the table's headers as labels.
Further control over the labels, type, content, and appearance of plots can
be exercised through the
#+PLOT: lines preceding a table. See below
for a complete list of Org-plot options. For more information and examples
see the Org-plot tutorial at
dep:(3 4)to graph the third and fourth columns (defaults to graphing all other columns aside from the
withoption to be inserted for every col being plotted (e.g.,
impulses, etc...). Defaults to
deps(defaults to the column headers if they exist).
gridtypes, set this to
tto graph a flat mapping rather than a
$datafilein the specified script will be replaced with the path to the generated data file. Note: even if you set this option, you may still want to specify the plot type, as that can impact the content of the data file.