small modifications to plot_glafic