def METHOD_NAME(self, f, xmin=-1, xmax=1, ymin=-1, ymax=1, zmin=-1, zmax=1,
           title=None,
           samples=25, isosamples=20, xlabel='x', ylabel='y',
           interact=True):
    if title is None:
        title = str(f)
    f = f.replace('^','**')
    cmd="""
    set xlabel "%s"
    set ylabel "%s"
    set key top
    set border 4095
    set xrange [%s:%s]
    set yrange [%s:%s]
    set samples %s
    set isosamples %s
    set title "%s"
    set pm3d; set palette
    #show pm3d
    #show palette
    splot %s
    """%(xlabel, ylabel,
         xmin, xmax, ymin, ymax, #zmin, zmax,
         samples, isosamples,
         title, f)
    if interact:
        self.interact(cmd)
    else:
        self(cmd)