add logy and logx options to plotting.utils.draw