diff --git a/plotter.cpp b/plotter.cpp index 4d763f96a..bcd1dd572 100644 --- a/plotter.cpp +++ b/plotter.cpp @@ -116,7 +116,7 @@ void CPlotter::draw(float swide[], bool bScroll, bool bRed) static int ktop=0; float y,y2,ymin; double fac = sqrt(m_binsPerPixel*m_waterfallAvg/15.0); - double gain = fac*pow(10.0,0.02*m_plotGain); + double gain = fac*pow(10.0,0.015*m_plotGain); double gain2d = pow(10.0,0.02*(m_plot2dGain)); if(m_bReference != m_bReference0) resizeEvent(NULL); @@ -164,7 +164,7 @@ void CPlotter::draw(float swide[], bool bScroll, bool bRed) for(int i=0; i254) y1=254; if (swide[i]<1.e29) painter1.setPen(g_ColorTbl[y1]); @@ -651,7 +651,7 @@ int CPlotter::binsPerPixel() //binsPerPixel return m_binsPerPixel; } -void CPlotter::setWaterfallAvg(int n) //setBinsPerPixel +void CPlotter::setWaterfallAvg(int n) //setNavg { m_waterfallAvg = n; } diff --git a/widegraph.ui b/widegraph.ui index f17a60904..62bbbf0a9 100644 --- a/widegraph.ui +++ b/widegraph.ui @@ -103,14 +103,14 @@ - + 0 0 - 80 + 100 0 @@ -158,14 +158,14 @@ - + 0 0 - 80 + 100 0 @@ -385,14 +385,14 @@ - + 0 0 - 80 + 100 0 @@ -416,14 +416,14 @@ - + 0 0 - 80 + 100 0