added curve, fig, ax to epicurves
figs generated automatically