Refactoring log scale plot

fixed #206