add analyzeplot formula