grapher: clean out old codes, add plot meth back in