plotting switch mixins