improvements to plot_arrow
more improvements to xrf display