|
![](/i/fill.gif) |
On Tue, 27 Apr 2010 12:58:51 +0200, Invisible <voi### [at] dev null> wrote:
> I wrote a small program to plot a logarithmic scale. Although it's wider
> at one end than the other, it doesn't look quite right to me. And when I
> attempted to do some calculations with it, I got gibberish answers.
>
> Upon further investigation, I discovered that my logarithmic scale is
> not, in fact, logarithmic. It fails to have at least two properties that
> a propper log scale should have:
>
> Fact #1: The distance from 1 to 2 should equal the distance from 2 to 4.
>
> Fact #2: The distance from 1 to 2 should equal the distance from 10 to
> 20.
>
> Looking at my scale, the distance from 10 to 20 is about a dozen times
> larger than from 1 to 2. EPIC FAILURE.
>
> As I said, the tick marks aren't equally spaced - so it's not a linear
> scale. But it's also not properly logarithmic either. God only knows how
> I've managed to get something this trivial so badly wrong... :'{
It reminds me of my first attempt at a Mandelbrot render on my old 48k ZX
Spectrum. It looked like a skew Mandelbrot set. I think I had "-1" in the
recursion that shouldn't be there... :)
--
-Nekar Xenos-
"The spoon is not real"
Post a reply to this message
|
![](/i/fill.gif) |