Added plotMultipleWithEnergy functionality