changes to area plot and to totalenergyresults.export_to_cache