added macro to dump Z plots in common style