Changes Ploop_sp plot location
This commit is contained in:
parent
ba5e38144e
commit
eddedf1b43
|
|
@ -95,15 +95,15 @@
|
||||||
}, [0, 1, 2, 3, 4, 5], maxPoints);
|
}, [0, 1, 2, 3, 4, 5], maxPoints);
|
||||||
|
|
||||||
Plotly.extendTraces('pressure-plot-1',
|
Plotly.extendTraces('pressure-plot-1',
|
||||||
{ x: [[t], [t], [t]], y: [[puData.Pro], [puData.Pretentate], [puData.Ploop_sp]] },
|
{ x: [[t], [t]], y: [[puData.Pro], [puData.Pretentate]] },
|
||||||
[0, 1, 2],
|
[0, 1],
|
||||||
maxPoints
|
maxPoints
|
||||||
);
|
);
|
||||||
|
|
||||||
Plotly.extendTraces('pressure-plot-2', {
|
Plotly.extendTraces('pressure-plot-2', {
|
||||||
x: [[t]],
|
x: [[t], [t]],
|
||||||
y: [[puData.Pdilute]]
|
y: [[puData.Pdilute], [puData.Ploop_sp]]
|
||||||
}, [0], maxPoints);
|
}, [0, 1], maxPoints);
|
||||||
|
|
||||||
Plotly.extendTraces('conductivity-plot', {
|
Plotly.extendTraces('conductivity-plot', {
|
||||||
x: [[t], [t], [t]],
|
x: [[t], [t], [t]],
|
||||||
|
|
@ -192,7 +192,6 @@
|
||||||
Plotly.newPlot('pressure-plot-1', [
|
Plotly.newPlot('pressure-plot-1', [
|
||||||
{ x: time0, y: [0], name: 'Pro', mode: 'lines' },
|
{ x: time0, y: [0], name: 'Pro', mode: 'lines' },
|
||||||
{ x: time0, y: [0], name: 'Pretentate', mode: 'lines' },
|
{ x: time0, y: [0], name: 'Pretentate', mode: 'lines' },
|
||||||
{ x: time0, y: [0], name: 'Ploop_sp', mode: 'lines', line: { dash: 'dash', color: 'red' } }
|
|
||||||
], {
|
], {
|
||||||
title: 'Pro and Pretentate',
|
title: 'Pro and Pretentate',
|
||||||
xaxis: { type: 'date' },
|
xaxis: { type: 'date' },
|
||||||
|
|
@ -201,6 +200,7 @@
|
||||||
|
|
||||||
Plotly.newPlot('pressure-plot-2', [
|
Plotly.newPlot('pressure-plot-2', [
|
||||||
{ x: time0, y: [0], name: 'Pdilute', mode: 'lines' }
|
{ x: time0, y: [0], name: 'Pdilute', mode: 'lines' }
|
||||||
|
{ x: time0, y: [0], name: 'Ploop_sp', mode: 'lines', line: { dash: 'dash', color: 'red' } }
|
||||||
], {
|
], {
|
||||||
title: 'Pdilute Pressure', xaxis: { type: 'date' }, yaxis: { title: 'Pressure (bar)' }
|
title: 'Pdilute Pressure', xaxis: { type: 'date' }, yaxis: { title: 'Pressure (bar)' }
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user