plotting macro for resolution histograms