some script to plot energy