save limit plots as .C file automatically