I want the formula or rather calculation for what I'm trying to achive.
The scale is between 0 and 40 in this case, representing number of points, min and max.
The input that is possible to have is 0 or max 100 in this case.
In a linear scale, if the input would be 50 the points would be 20.
Now as I want a logarithmic scale I would to have something like, input 50 to be 10 points.
0 50 100
|--------------[]--------------|
0 10 40
How do I calculate this? Please provide actual calucaltion of above example. Both scale and input could be something else for other cases.
Thank you for your answer ![]()