Adding few macros for plotting