summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/TimeDomainDisplayPlot.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/lib/TimeDomainDisplayPlot.cc')
-rw-r--r--gr-qtgui/lib/TimeDomainDisplayPlot.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-qtgui/lib/TimeDomainDisplayPlot.cc b/gr-qtgui/lib/TimeDomainDisplayPlot.cc
index 70b11dd0ee..28cca3aaa1 100644
--- a/gr-qtgui/lib/TimeDomainDisplayPlot.cc
+++ b/gr-qtgui/lib/TimeDomainDisplayPlot.cc
@@ -208,6 +208,11 @@ TimeDomainDisplayPlot::set_xaxis(double min, double max)
_zoomer->setZoomBase();
}
+void
+TimeDomainDisplayPlot::set_title(int which, QString title)
+{
+ _plot_curve[which]->setTitle(title);
+}
void TimeDomainDisplayPlot::replot()
{