re-indent and reflow in getPlotSetArray