Re: XForms: better autoscaling for xyplot?

Steve Lamont (
Wed, 7 Jan 98 14:33:00 PST

To subscribers of the xforms list from (Steve Lamont) :

> I have one feature I'd very much like to see added as an enhancement
> to the xyplot object.=20
> An more intelligent autoscaling mode:
> - only use "human" intervalls eg. ( 1, 0.5, 0.25, 0.2 )* 10^x
> - always align ticks to Zero, eg. not to get label like
> -0.3, -0.1, 0.1, ... but -0.2, 0.0, 0.2 ... !
> - korrekt sub-tickmarks in log mode

Actually xyplot uses an algorithm similar to Paul Heckbert's, given in
_Graphics Gems_ (Volume I), "Nice Numbers for Graph Labels," which is
pretty standard. I'm not sure what it uses in log mode, offhand.

What I'd really like to see is an option that says "use *my* tick
marks, *dammit*." For instance, in image histograms where the range
is 0 - 255, xyplot gives me a "nice" upper limit of 300, which looks
funky. I'd like ticks at 0, 16, 32, ... but xyplot won't give them to
me. :-/

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: