attempting optional perameter to plot in ergs