A bunch of pages
This commit is contained in:
parent
33555e975c
commit
b3b84d42d4
10 changed files with 136 additions and 7 deletions
BIN
assets/activator-dg.png
Normal file
BIN
assets/activator-dg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 390 KiB |
BIN
assets/choosing-dg1.png
Normal file
BIN
assets/choosing-dg1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 312 KiB |
BIN
assets/choosing-dg2.png
Normal file
BIN
assets/choosing-dg2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 742 KiB |
|
@ -12,17 +12,18 @@ function defineVars(vars) {
|
|||
});
|
||||
}
|
||||
|
||||
function plot(target, fns, deps) {
|
||||
function plot(target, fns, deps, [xDomain, yDomain] = [[-1, 9], [-1, 9]]) {
|
||||
const depsEl = deps.map(document.querySelector.bind(document));
|
||||
const plot = () => {
|
||||
functionPlot({
|
||||
target,
|
||||
width: 600,
|
||||
height: 400,
|
||||
yAxis: { domain: [-1, 9] },
|
||||
xAxis: { domain: xDomain },
|
||||
yAxis: { domain: yDomain },
|
||||
grid: true,
|
||||
data: fns(...(depsEl.map(el => parseFloat(el.value)))).map(fn => ({
|
||||
fn
|
||||
fn, graphType: 'polyline'
|
||||
}))
|
||||
});
|
||||
}
|
||||
|
|
BIN
assets/repressor-dg.png
Normal file
BIN
assets/repressor-dg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 373 KiB |
|
@ -162,4 +162,10 @@ i.cite {
|
|||
text-align: center;
|
||||
padding-top: 8px;
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
.footnotes {
|
||||
margin: 10px;
|
||||
border-top: 1px solid;
|
||||
opacity: 0.8;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue