From murdoch at stats.uwo.ca  Wed May 10 00:41:09 2006
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Tue, 09 May 2006 18:41:09 -0400
Subject: [Rd] RFC:  log='z' for image, contour, persp?
Message-ID: <44611A85.8090605@stats.uwo.ca>

I've been thinking of adding the possibility of including "z" among the 
axes to be logged in image, contour, and persp.  In the first two, it 
would only affect where the breaks were set if they are calculated 
automatically; it would have a bigger effect in persp.

For example,

image(x, y, z, log="z")

would set 12 colours evenly spaced on a log scale of the z values.  (12 
because that's the default).

We already support

image(x, y, z, log="x")

to scale the x axis (though there's a spurious warning; I'll fix that).

image(z, log="x")

fails because it tries to take a log of zero.

Does it seem like a good idea for these 3D functions to support log="z" 
the way 2D functions do?

Duncan Murdoch



[Rd] RFC: log='z' for image, contour, persp?
Duncan Murdoch