script to transform experiment output and to plot the results