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 let
rPlot = garlic.pp.rPlot; rPlot = garlic.pp.rPlot;
ds = garlic.ds; ds = garlic.ds;
exp = garlic.exp;
pp = garlic.pp;
rPlotExp = rScript: exp: rPlot { script = rScript; dataset = exp; };
in in
{ {
nbody = { nbody = with exp.nbody; {
baseline = rPlot { baseline = rPlot {
script = ./nbody/baseline.R; script = ./nbody/baseline.R;
dataset = ds.nbody.baseline; dataset = ds.nbody.baseline;
}; };
small = rPlot {
script = ./nbody/baseline.R; small = rPlotExp ./nbody/baseline.R small.timetable;
dataset = ds.nbody.small;
};
jemalloc = rPlot { jemalloc = rPlot {
script = ./nbody/jemalloc.R; script = ./nbody/jemalloc.R;
dataset = ds.nbody.jemalloc; dataset = ds.nbody.jemalloc;