cleaned up qzplot_r and qrplot_r