plot and data output is done