added method to plot xrayflux data