add support for splitting plots