[plotter] add a range of curves to plotter if value is an array