plot_beam