flex_correlation_plot function

flex_correlation_plot function