2D_plot_function