make Plottable::doPlot virtual to facilitate composition
make indices shorts to save space