energy plotting