mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-24 22:27:55 -05:00
#14880: RFT correlation plot formation workflow
* Add Add Well Picks button to well log formation settings * Expose formation zone colors and shading alpha from RFT track * Average observed pressures per formation with full min/max range * Show formation-colored observed pressure and depth filter in RFT correlation plots * Default new RFT correlation plots to formation filter and ensemble parameter coloring * Move Qwt code out of RFT correlation Rim classes * Align RFT correlation depth filter bars and click zones with displayed track formations
This commit is contained in:
1 parent
4126d25ea0
commit
5812826db6
22 files changed
+1179
-122
No files matched your search
@@ -36,12 +36,10 @@
|
||||
#include "RiuGroupedBarChartBuilder.h"
|
||||
#include "RiuPlotItem.h"
|
||||
#include "RiuQwtPlotWidget.h"
|
||||
#include "RiuRftCorrelationPlotTools.h"
|
||||
|
||||
#include "cafPdmUiCheckBoxEditor.h"
|
||||
|
||||
#include "qwt_plot.h"
|
||||
#include "qwt_text.h"
|
||||
|
||||
#include <QPaintDevice>
|
||||
|
||||
#include <limits>
|
||||
@@ -256,8 +254,7 @@ void RimRftTornadoPlot::detachAllCurves()
|
||||
{
|
||||
if ( m_plotWidget )
|
||||
{
|
||||
m_plotWidget->qwtPlot()->detachItems( QwtPlotItem::Rtti_PlotBarChart );
|
||||
m_plotWidget->qwtPlot()->detachItems( QwtPlotItem::Rtti_PlotScale );
|
||||
RiuRftCorrelationPlotTools::detachBarChartItems( m_plotWidget );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -323,13 +320,13 @@ void RimRftTornadoPlot::onLoadDataAndUpdate()
|
||||
m_lastCorrelations = addDataToChartBuilder( chartBuilder );
|
||||
const int labelSize = caf::FontTools::absolutePointSize( RiaPreferences::current()->defaultPlotFontSize(), m_labelFontSize() );
|
||||
chartBuilder.setLabelFontSize( labelSize );
|
||||
chartBuilder.addBarChartToPlot( m_plotWidget->qwtPlot(), Qt::Horizontal, m_showOnlyTopNCorrelations() ? m_topNFilterCount() : -1 );
|
||||
RiuRftCorrelationPlotTools::addHorizontalBarChart( m_plotWidget, chartBuilder, m_showOnlyTopNCorrelations() ? m_topNFilterCount() : -1 );
|
||||
RimCorrelationBarChartTools::highlightSelectedParameterBar( m_plotWidget,
|
||||
m_selectedParameter,
|
||||
RiaColorTools::toQColor( m_barColor() ),
|
||||
RiaColorTools::toQColor( m_highlightBarColor() ) );
|
||||
|
||||
m_plotWidget->qwtPlot()->insertLegend( nullptr );
|
||||
RiuRftCorrelationPlotTools::removeLegend( m_plotWidget );
|
||||
|
||||
updateAxes();
|
||||
updatePlotTitle();
|
||||
|
||||
Reference in new issue
Block a user