added macro to make raw plots