Hi!(adsbygoogle = window.adsbygoogle || []).push({});

I'm making a computer program that represents some quantities in a graph in this way:

x'_{i}=(x_{i}-x_{min})/(x_{max}-x_{min})

so that the possible values of x range from 0 to 1. This is a linear scale. I want to do the same with the logarithmic values of x_{i}. That is, I want to implement a log scale in my graphs, also in the range from 0 to 1.

Can anyone tell me how to do it?

Thanks!

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Linear to logarithmic scale conversion

**Physics Forums | Science Articles, Homework Help, Discussion**