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);
|
||||
|
||||
Plotly.extendTraces('pressure-plot-1',
|
||||
{ x: [[t], [t], [t]], y: [[puData.Pro], [puData.Pretentate], [puData.Ploop_sp]] },
|
||||
[0, 1, 2],
|
||||
{ x: [[t], [t]], y: [[puData.Pro], [puData.Pretentate]] },
|
||||
[0, 1],
|
||||
maxPoints
|
||||
);
|
||||
|
||||
Plotly.extendTraces('pressure-plot-2', {
|
||||
x: [[t]],
|
||||
y: [[puData.Pdilute]]
|
||||
}, [0], maxPoints);
|
||||
x: [[t], [t]],
|
||||
y: [[puData.Pdilute], [puData.Ploop_sp]]
|
||||
}, [0, 1], maxPoints);
|
||||
|
||||
Plotly.extendTraces('conductivity-plot', {
|
||||
x: [[t], [t], [t]],
|
||||
|
|
@ -192,7 +192,6 @@
|
|||
Plotly.newPlot('pressure-plot-1', [
|
||||
{ x: time0, y: [0], name: 'Pro', 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',
|
||||
xaxis: { type: 'date' },
|
||||
|
|
@ -201,6 +200,7 @@
|
|||
|
||||
Plotly.newPlot('pressure-plot-2', [
|
||||
{ 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)' }
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user