refactor graphics.dotplot() so that it plots in specified axes