[rrd-users] Rounding Y-axis Values - Disable

Tobias Oetiker tobi at oetiker.ch
Wed Sep 8 14:34:28 CEST 2010


Hi Rudolf,

Today team wrote:

>
> hi,
>
> i use rrdtool-1.4.3 and call the graph with --upper-limit 25 --lower-limit
> 23 --rigid
> and no --alt* settings.
>
> i measure temperature between 22 - 23°C and the Y axis is roundet up to 22
> 23 etc...
>
> 21.8 ist shown as 22, but i would like to see something like 22.2 22.4 22.6
> etc...
>
> from 22 -23 i got 5 grid, so 0,2 steps.
>
> a cannot use --y-grid because grid musst be >1
>
> any idees to get the Y axis to show the lable with 0,2 steps?

I would try:

--alt-autoscale

and

--alt-y-grid

they were developed to deal with this situation ...

in my original design of the scaling algorithm I optimized it to
always include the 'zero' line

cheers
tobi

>
> thx
> rudolf
> http://rrd-mailinglists.937164.n2.nabble.com/file/n5510304/sensors.jpg
> sensors.jpg
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900


More information about the rrd-users mailing list