diff --git a/ApplicationLibCode/ProjectDataModel/Summary/RimSummaryRegressionAnalysisCurve.cpp b/ApplicationLibCode/ProjectDataModel/Summary/RimSummaryRegressionAnalysisCurve.cpp index f222cd2381..e5ebac0187 100644 --- a/ApplicationLibCode/ProjectDataModel/Summary/RimSummaryRegressionAnalysisCurve.cpp +++ b/ApplicationLibCode/ProjectDataModel/Summary/RimSummaryRegressionAnalysisCurve.cpp @@ -409,6 +409,10 @@ QString RimSummaryRegressionAnalysisCurve::generateRegressionText( const regress { parts.append( QString( "%1" ).arg( formatDouble( std::fabs( coeff ) ) ) ); } + else if ( i == 1 ) + { + parts.append( QString( "%1x" ).arg( formatDouble( std::fabs( coeff ) ) ) ); + } else { parts.append( QString( " %1x%2" ).arg( formatDouble( std::fabs( coeff ) ) ).arg( i ) );