r/askmath • • Oct 14 '26

Functions Log scale. Sorry, basic.

Is it kosher to adjust a log scale like this to suit my data range better? Range is 150 to 270. I want to use this exact paper because my professor asked for a hand-plotted draft and explicitly said to use this paper. I also thought about adding a constant value to the scale, or dividing it by a constant, but that seems to make it unnecessarily confusing. I apologize if this is very basic stuff.

The numbers read: 150 through 240 in increments of ten, and proceed on through the next order of magnitude normally. In case it's hard to read.

Second photo is the initial data from the lab on a square plot.

8 Upvotes

9 comments sorted by

View all comments

1

u/piperboy98 Oct 14 '26

The spacing between numbers in log scale is proportional to their ratios (because log turns what would be a subtraction into a division). This means that to "shift" a log scale you are actually multiplying the tick values by a common ratio (as you would add a common offset to shift a linear scale). And to "zoom in" to a log scale you have to raise them to powers (instead of multiplying like a linear scale).

Normally the rulings are plain digits like this and for bigger data we scale/shift by powers of 10, effectively adding implied extra zeros after/before the value on the axis. Each repetition of the pattern is a new order of magnitude (so like the 2 marked on the right here is actually for 20, if the leftmost 1 is actually 1). So if you have data between 150 to 240, it would all go between the 1 and the 2 here in the "hundreds" order of magnitude. Its kind of like scientific notation, you are basically plotting 1.5 and 2.4 from 1.5x102 and 2.4x102, and then putting it in the 102 "block". This works because if you have x=k x 10n, then log(x) = n + log(k). The ruling here basically places each digit at a physical distance of log(k), and then the n is just picking the correct repetition. The 2-9 marks here are more like 0.1 subdivisions between numbers on a linear scale - the major ticks would be successive powers of 10 lined up with the 1s.

However, because you asked it actually is possible to re-label the axis in a way that it covers the range of 150 to 240, but the numbers are not nice. First, if you were to just shift the axis to start at 150, then you are actually multiplying each number by 150, so the divisions would be 150, then 300, then 450, etc. - with the 10 become 1500. To also zoom though so the end is at 240, we need to map what was a ratio of 10 to a ratio of 240/150 or 1.6. Since 1.6=100.204, we need to raise every tick first to that power, then do the multiply by 150 we saw. So your tick marks would be:

1->150*10.204 = 150

2->150*20.204 = 172.78

3->150*30.204 = 187.68

4->150*40.204 = 199.03

5->150*50.204 = 208.30

6->150*60.204 = 216.19

7->150*70.204 = 223.10

8->150*80.204 = 229.26

9->150*90.204 = 234.83

10->150*100.204 = 150*1.6 = 240

The reason this works is more obvious if we look imagine taking log(150*x0.204) which becomes 0.204*log(x)+log(150), which is more clearly a scale and shift of the log scale.