modify plot_data.py for high-throughput computing