macro for response plots
macro for response plots