mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
PLT plot. Display unit int legend for observed curves
This commit is contained in:
parent
cda9d82971
commit
d3d2ccea20
@ -679,9 +679,9 @@ void RimWellPltPlot::syncCurvesFromUiSelection()
|
|||||||
if (RimWellPlotTools::isOilFlowChannel(channelName)) flowPhase = FLOW_PHASE_OIL;
|
if (RimWellPlotTools::isOilFlowChannel(channelName)) flowPhase = FLOW_PHASE_OIL;
|
||||||
else if (RimWellPlotTools::isGasFlowChannel(channelName)) flowPhase = FLOW_PHASE_GAS;
|
else if (RimWellPlotTools::isGasFlowChannel(channelName)) flowPhase = FLOW_PHASE_GAS;
|
||||||
else if (RimWellPlotTools::isWaterFlowChannel(channelName)) flowPhase = FLOW_PHASE_WATER;
|
else if (RimWellPlotTools::isWaterFlowChannel(channelName)) flowPhase = FLOW_PHASE_WATER;
|
||||||
QString curveUnitText = RimWellPlotTools::curveUnitText(flowCondition, unitSet, flowPhase);
|
QString curveUnitText = RimWellPlotTools::curveUnitText(flowCondition, unitSystem, flowPhase);
|
||||||
|
|
||||||
addStackedCurve(curveName + ", " + channelName + curveUnitText,
|
addStackedCurve(curveName + ", " + channelName + " " + curveUnitText,
|
||||||
depthValues,
|
depthValues,
|
||||||
channelData[std::get<2>(channelInfo)],
|
channelData[std::get<2>(channelInfo)],
|
||||||
plotTrack,
|
plotTrack,
|
||||||
|
Loading…
Reference in New Issue
Block a user