def METHOD_NAME(self, cmd, file=None, verbose=True, reset=True):
    r"""
    Draw the plot described by cmd, and possibly also save to an eps or
    png file.
    INPUT:
    -  ``cmd`` - string
    -  ``file`` - string (default: None), if specified save
       plot to given file, which may be either an eps (default) or png
       file.
    -  ``verbose`` - print some info
    -  ``reset`` - True: reset gnuplot before making
       graph
    OUTPUT: displays graph
    .. note::
       Note that ``^`` s  are replaced by ``**`` s before being passed to gnuplot.
    """
    if reset:
        self('reset')
    self('set terminal x11')
    cmd = cmd.replace('^','**')
    self(cmd)
    if file is not None:
        if file[-4:] == '.png':
            self('set terminal png medium')
        else:
            if file[-4:] != '.eps':
                file += '.eps'
            self('set terminal postscript eps enhanced')
        #self("set output '%s'"%file)
        tmp = 'gnuplot_tmp%s' % file[-4:]
        self("set output '%s'" % tmp)
        print("Saving plot to %s" % file)
        self(cmd)
        time.sleep(0.1)
        os.system('mv %s %s 2>/dev/null'%(tmp, file))
        time.sleep(0.1)
    self('set terminal x11')