PLOT_HEIGHT = 600

            TYPE2TITLE = {'N': 'Count', 'M': 'Max(SNR)', 'S': 'Sum(SNR)'}

            # Main panel, color-coded number of detections on DM-trial-time plane:
            pc_main = PlotContainer(0, -30, 900, PLOT_HEIGHT)
            pc_main.bottom.hide_label()
            pc_main.bottom.hide_tickmarklabels()
            pc_main.top.hide_label()
            pc_main.top.hide_tickmarklabels()
            pc_main.right.hide_tickmarklabels()
            pc_main.right.hide_label()
            pc_main.left.set_label('DM Index')
            pc_main.add_plotter(SinglePulsePlotter(png_str, (options.s, min_dmi,
                                options.e, max_dmi)))
            pc_main.set_minimum_data_bbox((options.s, min_dmi, options.e, max_dmi))
            cv.add_plot_container(pc_main)

            # First right-side panel, histogram of number of detections versus DM:
            pc_right1 = PlotContainer(820, -30, 270, PLOT_HEIGHT)
            pc_right1.add_plotter(HistogramPlotter(bins_dmi, False,
                                  orientation='vertical'))
            pc_right1.bottom.set_label(TYPE2TITLE[options.type])
            pc_right1.top.hide_label()
            pc_right1.top.hide_tickmarklabels()
            pc_right1.left.hide_tickmarklabels()
            pc_right1.left.hide_label()
            pc_right1.right.hide_tickmarklabels()
            pc_right1.right.hide_label()
            cv.add_plot_container(pc_right1)