make plotting code parameter.