working on log scale in graphs