mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Minor visual improvements to Well Path Attribute track
* Make well slightly wider
This commit is contained in:
parent
a3e3601d08
commit
a35c395f54
@ -454,11 +454,16 @@ void RimWellLogTrack::updateXZoom()
|
||||
|
||||
// Attribute range. Fixed range where well components are positioned [-1, 1].
|
||||
// Set an extended range here to allow for some label space.
|
||||
double componentRangeMax = 1.5 * ( 4 / ( static_cast<int>( colSpan() ) ) );
|
||||
double componentRangeMax = 2.0 / ( static_cast<double>( colSpan() ) );
|
||||
double componentRangeMin = -0.25;
|
||||
if ( m_showWellPathComponentsBothSides )
|
||||
{
|
||||
componentRangeMin = -1.5;
|
||||
componentRangeMax *= 2.0;
|
||||
}
|
||||
if ( m_showWellPathComponentLabels )
|
||||
{
|
||||
componentRangeMax *= 1.5;
|
||||
}
|
||||
|
||||
m_plotWidget->setAxisRange( QwtPlot::xBottom, componentRangeMin, componentRangeMax );
|
||||
|
@ -282,8 +282,8 @@ void RiuWellPathComponentPlotItem::onLoadDataAndUpdate( bool updateParentPlot )
|
||||
}
|
||||
else if ( m_componentType == RiaDefines::PACKER )
|
||||
{
|
||||
addColumnFeature( -casingTrackEnd, -0.25, startDepth, endDepth, componentColor(), Qt::DiagCrossPattern );
|
||||
addColumnFeature( 0.25, casingTrackEnd, startDepth, endDepth, componentColor(), Qt::DiagCrossPattern );
|
||||
addColumnFeature( -1.1 * casingTrackEnd, -0.25, startDepth, endDepth, componentColor(), Qt::DiagCrossPattern );
|
||||
addColumnFeature( 0.25, 1.1 * casingTrackEnd, startDepth, endDepth, componentColor(), Qt::DiagCrossPattern );
|
||||
addMarker( casingTrackEnd, midDepth, 10, RiuQwtSymbol::SYMBOL_RIGHT_ANGLED_TRIANGLE, componentColor( 0.0 ), label() );
|
||||
}
|
||||
m_combinedComponentGroup.setTitle( legendTitle() );
|
||||
|
Loading…
Reference in New Issue
Block a user