Check whether GetPowerConsumptionData() exists before sourcing plotcore.R; construct plot3.png