minor tweaks to scatter scaling
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 23 Nov 2012 23:27:07 +0000 (23:27 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 23 Nov 2012 23:27:07 +0000 (23:27 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@1056 01035d8c-6547-0410-b346-abe4f91aad63

fdmdv2/src/Makefile.win32
fdmdv2/src/fdmdv2_plot_scatter.cpp

index f536fe8fe6b5b82769bb4616f7d816bdb57c5ac2..496eb1dcff452b0b939161bdc6e3bcc5587f01e3 100644 (file)
@@ -27,8 +27,7 @@ fdmdv2_plot_spectrum.o \
 fdmdv2_plot_waterfall_linux.o \
 fdmdv2_pa_wrapper.o \
 dlg_audiooptions.o \
-dlg_comports.o \
-dlg_options.o
+dlg_comports.o
 
 HDRS = dlg_audiooptions.h dlg_comports.h fdmdv2_main.h fdmdv2_defines.h fdmdv2_plot.h fdmdv2_plot_scalar.h fdmdv2_plot_waterfall_linux.h fdmdv2_plot_scatter.h fdmdv2_plot_spectrum.h fdmdv2_pa_wrapper.h topFrame.h dlg_audiooptions.h
 
index d41b279031143827a0d12499f2e78c36587a8825..4b5b92b605bfb3e9227cdcc3b47f413730ac3c12 100644 (file)
@@ -105,8 +105,8 @@ void PlotScatter::draw(wxAutoBufferedPaintDC& dc)
             max_xy = imag;
     }
     m_filter_max_xy = BETA*m_filter_max_xy + (1 - BETA)*2.5*max_xy;
-    if (m_filter_max_xy < 0.1)
-        m_filter_max_xy = 0.1;
+    if (m_filter_max_xy < 0.001)
+        m_filter_max_xy = 0.001;
     //printf("max_xy: %f m_filter_max_xy: %f\n", max_xy, m_filter_max_xy);
 
     x_scale = (float)m_rGrid.GetWidth()/m_filter_max_xy;