def plot_time_freq(self, mindB=-<NUM_LIT:100>, maxdB=None, norm=True,<EOL>yaxis_label_position="<STR_LIT:right>"):
from pylab import subplot, gca<EOL>subplot(<NUM_LIT:1>, <NUM_LIT:2>, <NUM_LIT:1>)<EOL>self.plot_window()<EOL>subplot(<NUM_LIT:1>, <NUM_LIT:2>, <NUM_LIT:2>)<EOL>self.plot_frequencies(mindB=mindB, maxdB=maxdB, norm=norm)<EOL>if yaxis_label_position=="<STR_LIT:left>":<EOL><INDENT>try: tight_layout()<EOL>except: pass<EOL><DEDENT>else:<EOL><INDENT>ax = gca()<EOL>ax.yaxis.set_label_position("<STR_LIT:right>")<EOL><DEDENT>
Plotting method to plot both time and frequency domain results.

        See :meth:`plot_frequencies` for the optional arguments.

        .. plot::
            :width: 80%
            :include-source:

            from spectrum.window import Window
            w = Window(64, name='hamming')
            w.plot_time_freq()