add examples for fitting and simple line plots