fig: add article figure directory
This commit is contained in:
parent
6f2375804d
commit
a6815dc7cf
@ -11,6 +11,7 @@ let
|
|||||||
exp = garlic.exp;
|
exp = garlic.exp;
|
||||||
pp = garlic.pp;
|
pp = garlic.pp;
|
||||||
ds = garlic.ds;
|
ds = garlic.ds;
|
||||||
|
fig = garlic.fig;
|
||||||
|
|
||||||
stdPlot = rScript: expList: rPlot {
|
stdPlot = rScript: expList: rPlot {
|
||||||
script = rScript;
|
script = rScript;
|
||||||
@ -21,6 +22,11 @@ let
|
|||||||
script = rScript;
|
script = rScript;
|
||||||
dataset = dataset;
|
dataset = dataset;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
linkTree = name: tree: self.linkFarm name (
|
||||||
|
self.lib.mapAttrsToList (
|
||||||
|
name: value: { name=name; path=value; }
|
||||||
|
) tree);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nbody = with exp.nbody; {
|
nbody = with exp.nbody; {
|
||||||
@ -55,4 +61,12 @@ in
|
|||||||
bw = customPlot ./osu/bw.R (ds.osu.bw bw.result);
|
bw = customPlot ./osu/bw.R (ds.osu.bw bw.result);
|
||||||
bwShm = customPlot ./osu/bw.R (ds.osu.bw bwShm.result);
|
bwShm = customPlot ./osu/bw.R (ds.osu.bw bwShm.result);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# The figures used in the article contained in a directory per figure
|
||||||
|
article = with fig; linkTree "article-fig" {
|
||||||
|
"osu/latency" = osu.latency;
|
||||||
|
"osu/latencyMt" = osu.latencyMt;
|
||||||
|
"osu/bw" = osu.bw;
|
||||||
|
"osu/bwShm" = osu.bwShm;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user