[wip] data export for pgf plotting