If I have a plot of a straight line with some angle. Considering just the parts of the line where $x \geq 1$ and $y \geq 1$.
If I $log$ both the $x$ and $y$ axes:
- Will it still be a straight line?
- Will it have the same slope?
For example, here is the line $y = 0.5 x$

When I $log$ both the $x$ and $y$ axes, I get what looks like a line with the same angle.

How would I prove/disprove it is always a straight line with the same slope?
Here is the R code I used to generate the example plots.
library('ggplot2')
df <- data.frame(x = seq_len(100))
df$y <- 0.5 * df$x
p <- ggplot(df, aes(x, y)) + geom_line()
p2 <- p + scale_x_log10() + scale_y_log10()
p
p2
Okay, so we are mapping an $x-y$ plane to $w-v$ plane where $w = \log x$ and $v = \log y$.
So what happens to the line $y = mx+b$
So the point $w$ on the $w$ axis represents $x = 10^2$. And we need $v$ to be then point that is $v= \log y =\log (m 10^w + b)$ which is not a line if $b \ne 0$..
But if $b = 0$ then $v = \log(m 10^w) = w + \log m$ will be a line.
It will have slope $1$ and $v$ intercept that corresponds to the log of the slope of the original line... which has to be positive....
And we can only translate the parts of the line where $x$ and $y = mx+b$ are both positive.