Added support for including a locfit curve in plot