Macros and Tools for SMS plots