OpenGeoscience / geoweb

Open source geoscience tools and applications
8 stars 3 forks source link

Legend labels #155

Open benbu opened 11 years ago

benbu commented 11 years ago

Make the legend number labels use scientific notation if the difference between the high and low end is less than some threshold. I think less than 0.1 is a good threshold, so that we don't end up with things like 0.01--------0.02 when the real values might be 0.005-------0.0249. Instead the labels would show up as 0.50e-2------------2.49e-2 (or the first number could be 5.00e-3 if we don't want to keep the magnitude consistent between the two numbers, i vote for the former).

aashish24 commented 11 years ago

+1.. will fix it.