updated function: plot_grid_proj