fig: add nbody example using timetable attribute

This commit is contained in:
Rodrigo Arias 2021-02-03 12:39:44 +01:00
parent e89139284a
commit 0faf22a43f

View File

@ -9,17 +9,20 @@
let
rPlot = garlic.pp.rPlot;
ds = garlic.ds;
exp = garlic.exp;
pp = garlic.pp;
rPlotExp = rScript: exp: rPlot { script = rScript; dataset = exp; };
in
{
nbody = {
nbody = with exp.nbody; {
baseline = rPlot {
script = ./nbody/baseline.R;
dataset = ds.nbody.baseline;
};
small = rPlot {
script = ./nbody/baseline.R;
dataset = ds.nbody.small;
};
small = rPlotExp ./nbody/baseline.R small.timetable;
jemalloc = rPlot {
script = ./nbody/jemalloc.R;
dataset = ds.nbody.jemalloc;