Difficulty plotting multi-switchpoint posterior distributions

Thanks, I have updated the post.