flux_plot_flag function

creates the flag column to be used by flux_plot