Add logarithmic scale function

here's a pull request to switch on the logarithmic scale function as discussed in #100