In our Vis paper last year about continuous histograms, we show that the right continuous formulation for histograms is the integral of the inverse gradient magnitude of the scalar field over the desired isosurface:

In this note, I want to show that for most well-behaved functions, you have no reason to be afraid of that infinity term that will prop up in critical points. More precisely: for Morse functions and critical values h, exists and is the same from both sides. I’ll stick with two-dimensional functions for now, but it works for higher dimensions.

Around a critical point of a function, choose a rotated coordinate system such that , where are all third-order terms. Since this a Morse function, the critical point is non-degenerate and isolated, and so .

Then, . First, we assume . Then,

Now we just compute at a point around a critical point with radius r:

This means that around a source or a sink in 2D, the critical point tends toward a constant (since we’re getting rid of the higher-order terms). The case where but they share a sign is also easy: simply upper-bound the integral by using a larger domain of integration (instead of an ellipse, use the corresponding larger circle) and integrand (use the smallest gradient over the ellipse). Both factors are finite, so the integral is also finite. Similarly, the case where can be solved by substituting the complicated integral over a hyperbola with an integral over a portion of the asymptotes that has greater length.

This result should not be surprising: since is really the continuous analog of a histogram, could only be infinite if the cumulative distribution function of the scalar field were discontinuous. This implies a thick slab of the field being constant (that is, would have positive measure). This does not happen in Morse functions (since critical values are isolated).

I believe that a similar argument holds for Sven’s continuous scatterplots. It has to, by analogy with multi-dimensional histograms. The situation is more complicated, though, because the values where their denominator is zero are the Jacobi sets of the sets of functions, and I just don’t know enough about them to be able to tell.

(Update: fixed typos. Thanks, Gordon!)

### Like this:

Like Loading...

*Related*