Histo Sink
wxgui_histosink2
from gnuradio.wxgui import histosink_gl
#set $parent = $notebook() and 'self.%s.GetPage(%s)'%$notebook() or 'self'
histosink_gl.histo_sink_f(
$(parent).GetWin(),
title=$title,
num_bins=$num_bins,
frame_size=$frame_size,
#if $win_size()
size=$win_size,
#end if
)
#if not $grid_pos()
$(parent).Add(self.$(id).win)
#else
$(parent).GridAdd(self.$(id).win, $(', '.join(map(str, $grid_pos()))))
#end if
set_num_bins($num_bins)
set_frame_size($frame_size)
Title
title
Histogram Plot
string
Num Bins
num_bins
27
int
Frame Size
frame_size
1000
int
Window Size
win_size
int_vector
#if $win_size() then 'none' else 'part'#
Grid Position
grid_pos
grid_pos
Notebook
notebook
notebook
not $win_size or len($win_size) == 2
in
float
Leave the window blank for the default size, otherwise enter a tuple of (width, height) pixels.
Use the Grid Position (row, column, row span, column span) to position the graphical element in the window.
Use the Notebook Param (notebook-id, page-index) to place the graphical element inside of a notebook page.