Fix #11: Add an option for log scaling