Macro for jt variable plots