From e4c68f0d1cc0b1255ee0022883cb684ad783a027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A5l=20Hagen?= Date: Mon, 31 Aug 2015 12:29:16 +0200 Subject: [PATCH] Using dummy curve values in the range 0 - 1000 --- ApplicationCode/Commands/RicNewWellLogPlotCurveFeature.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ApplicationCode/Commands/RicNewWellLogPlotCurveFeature.cpp b/ApplicationCode/Commands/RicNewWellLogPlotCurveFeature.cpp index 3957b9e2bf..a2da27383f 100644 --- a/ApplicationCode/Commands/RicNewWellLogPlotCurveFeature.cpp +++ b/ApplicationCode/Commands/RicNewWellLogPlotCurveFeature.cpp @@ -48,9 +48,11 @@ void RicNewWellLogPlotCurveFeature::onActionTriggered(bool isChecked) // TODO: replace dummy values with values extracted from model or read from well log files std::vector depthValues, values; depthValues.push_back(0); - depthValues.push_back(-1000); + depthValues.push_back(250); + depthValues.push_back(1000); values.push_back(wellLogPlotTrace->curves.size() + 1); + values.push_back(wellLogPlotTrace->curves.size() + 0.5); values.push_back(wellLogPlotTrace->curves.size() + 1); wellLogPlotTrace->addCurve(depthValues, values);