#1113 Made tracer colors consistent, and son to be consistent with default well colors

This commit is contained in:
Jacob Støren
2017-02-02 09:56:39 +01:00
parent 8e4e7f098f
commit b26bd11674
4 changed files with 33 additions and 1 deletions

View File

@@ -239,8 +239,10 @@ void RimWellAllocationPlot::updateFromWell()
RimWellFlowRateCurve* curve = new RimWellFlowRateCurve;
curve->setFlowValues(tracerName, connNumbers, accFlow);
curve->setColor( m_flowDiagSolution->tracerColor(tracerName));
plotTrack->addCurve(curve);
curve->loadDataAndUpdate();
}
}
@@ -256,6 +258,7 @@ void RimWellAllocationPlot::updateFromWell()
RimWellFlowRateCurve* curve = new RimWellFlowRateCurve;
curve->setFlowValues("Total", connNumbers, accFlow);
curve->setColor( cvf::Color3f::DARK_GRAY);
plotTrack->addCurve(curve);