summaryrefslogtreecommitdiff
path: root/gr-qtgui/src/lib/spectrumdisplayform.cc
diff options
context:
space:
mode:
authortrondeau2009-04-26 22:00:50 +0000
committertrondeau2009-04-26 22:00:50 +0000
commitba59e6384ac558f97a4530a69f8b8fc1b99ace0b (patch)
tree243010392d0f451edd224f0bbcbeeaacc0987885 /gr-qtgui/src/lib/spectrumdisplayform.cc
parent9c3692b179b273ab6c21c3546c02c8b9226db13b (diff)
downloadgnuradio-ba59e6384ac558f97a4530a69f8b8fc1b99ace0b.tar.gz
gnuradio-ba59e6384ac558f97a4530a69f8b8fc1b99ace0b.tar.bz2
gnuradio-ba59e6384ac558f97a4530a69f8b8fc1b99ace0b.zip
Bringing out set axis function to the qtgui sinks for user-settable axis ranges.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10922 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-qtgui/src/lib/spectrumdisplayform.cc')
-rw-r--r--gr-qtgui/src/lib/spectrumdisplayform.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/gr-qtgui/src/lib/spectrumdisplayform.cc b/gr-qtgui/src/lib/spectrumdisplayform.cc
index 3249463d7..523fe51bf 100644
--- a/gr-qtgui/src/lib/spectrumdisplayform.cc
+++ b/gr-qtgui/src/lib/spectrumdisplayform.cc
@@ -856,3 +856,17 @@ SpectrumDisplayForm::ToggleTabConstellation(const bool state)
d_plot_constellation = -1;
}
}
+
+
+void
+SpectrumDisplayForm::SetTimeDomainAxis(double min, double max)
+{
+ _timeDomainDisplayPlot->set_yaxis(min, max);
+}
+
+void
+SpectrumDisplayForm::SetConstellationAxis(double xmin, double xmax,
+ double ymin, double ymax)
+{
+ _constellationDisplayPlot->set_axis(xmin, xmax, ymin, ymax);
+}