Thanks, Jon, this is great. However, all the majorunit
values have too many decimals, depending on whatever the
minimumscale value has. For example, if the min value is
100.456, then all the majorunit values will be 110.456,
120.456, etc., when 100, 110, 120 would be more logical,
not to mention presentable. The question is: how do you
round down the minimumscale number to
something "reasonable" when you have no foreknowledge of
the scale of the numbers? The chart must be able to deal
with numbers that could be anything, e.g. 0.00001 or
10,000. Is there a function that tells you the magnitude
of a number?
>-----Original Message-----
>Liam -
>
>Elsewhere on Tushar's site is an AutoChart Manager,
which lets you set
>the axis scales more flexibly than either setting a
constant value or
>letting Excel set them. And on my site, I describe the
process to set up
>something like this in VBA:
>
>
http://peltiertech.com/Excel/Charts/...eLinkToSheet.h
tml
>
>- Jon
>-------
>Jon Peltier, Microsoft Excel MVP
>Peltier Technical Services
>http://PeltierTech.com/Excel/Charts/
>_______
>
>Liam wrote:
>> I'm using Tushar Mehta's dynamic chart method for
>> plotting a normal curve, and the scale minimum for the
X-
>> axis (set in "auto" mode) seems to want to be zero,
even
>> if the curve is no where near it (even when the mean
is
>> 33 standard deviations away from zero!). Any idea how
>> Excel decides what the min value should be? Can I put
in
>> a formula instead of a constant to override the number
it
>> chooses?
>
>.
>