Unexpected Use of Natural Logarithm Given this graph:

We can assume there is a linearity in the semi-curves shown above (note that air line is not my concern here). Obviously, there is a logarithmic relationship for every gas, so for any gas of them: 
log(y) = m*log(x) + b     -->     x = 10(log(y)-b)/m
That's how , as far as I understand it, we find x.
However, the thing is, the results I'm getting are not correct. When I searched for very long time, I could find finally someone posted the solution but without any explanation, he used this equation:
x = 10(ln(y)-b)/m
Even though he started finding the slope by using the common logarithm, but to find x he used the natural logarithm as shown above!
The values I'm getting with the absence of any gas is something like: 5.123456 ppm.
However and logically speaking, the expected value should be something like 0.00123 ppm which his little change (from common to natural logarithm) in the final step can do. 
Any explanation will be very much appreciated.

P.S:
Here is some physic facts about the graph:


*

*Rs directly related to the gas concentration.

*R0 is constant for every gas (the concentration in fresh air).

*The Gas Sensor internally simulates a Voltage Divider.



P.S2:
In other words:
Can we start finding the slope and y-intercept by using the common logarithm because we assumed initially that there is a common logarithmic relationship between x and y, then when we want to find x , we use the base 10 for x but the base e for y? What is the logic behind this? that's basically my question.
MQ2 Datasheet
Application Code
 A: Remember that all logarithms are proportional to each other. In particular
$$ \ln(x) = \log_{10}(x)\cdot \ln(10) $$
So whenever you have
$$ f(x) = m\log_{10}(x) + b $$
you also have
$$ f(x) = m' \ln(x) + b $$
simply by replacing the original constant $m$ by $m'=m/\ln(10)$. And vice versa.
So a linear relationship between $\log_{10} x$ and $\log_{10} y$ is also a linear relationship between $\ln x$ and $\ln y$ -- or indeed between $\ln x$ and $\log_{10} y$ or the other way around -- just by adjusting the coefficients accordingly.
You're right that it looks strange and unmotivated (and may be a typo) to measure one scale by by the base-10 logarithm and the other one by the natural logarithm -- but doing so doesn't actually change the kind of relationship we're speaking of.

Remember also that
$$ \log y = m\log x + b $$
gives
$$ y = 10^{m\log x+b} = 10^{m\log x}\cdot 10^{mb} = 10^{mb} \cdot x^m $$
So as long as you're using the same kind of logarithms for $x$ and $y$, the coefficient $m$ has a natural interpretation as an exponent.
In particular, for most of your lines $m$ seems to be around $-\frac12$, which suggests that there may be an underlying law of the form $y = \frac{c}{\sqrt x}$, and it may be interesting to plot $y\sqrt x$ instead of just $y$, and look for how the curves differ from being horizontal.
A: If you get the values of $m$ and $b$ from a $\log_{10}$ vs $\log_{10}$ graph, then you need a $\log_{10}$ in your equation to make it work. So I think the $\ln$ in his equation is a mistake.
So the question then becomes: why do your calculations not work? (I assume your intuition about the magnitude of the right answer is correct, so you're definitely getting the wrong answer, but I am clueless when it comes to physics so I can't tell.) 
The following is pure speculation and may be completely wrong :)
Looking at the graph I can see one possible error one might make. When you calculate $b$, the $y$-intercept, it should be the intercept with the vertical line where $\log x=0$. But your graph starts at $\log x=2$, so if you got $b$ from looking at the intercept with the left-hand side of the graph, that will be the wrong value.
If that's the issue, then the fact that these two mistakes more or less cancel out would just be a fluke. And I don't think there would be anything special about the base $e$ in this sense - after all, his value isn't necessarily exactly right, it's just in the right ballpark, and I expect if you tried the same thing with any base between, say, $2.5$ and $3.5$, you'd still get a plausible answer. 
