[rrd-users] Re: [rrdgraph] Y labels

Tobias Oetiker oetiker at ee.ethz.ch
Fri Feb 4 00:01:41 MET 2000


Monday you sent me mail regarding [rrd-users] Re: [rrdgraph] Y labels:

*> On Wed, 26 Jan 2000, Tobias Oetiker wrote:
*> 
*> > Today you sent me mail regarding [rrd-users] [rrdgraph] Y labels:
*> > 
*> > *> Hi Tobias and all,
*> > *> 
*> > *> i am learning RRDtool with a simple example, showing CPU load. It works
*> > *> very nice, but i failed changing Y labels. Instead of ``500m'',
*> > *> ``1000m'', etc. i prefer 0.5, 1.0, etc.
*> > *> Is it possible?
*> > *> It could be done by specifying a sprintf format as third argument of
*> > *> --y-grid.
*> > 
*> > patches are welcome. two conditions
*> > 
*> > *) existing apps must not break
*> > 
*> > *) for configurable y axis labels we need more flexibility not only sprintf
*> >    but probably also a magnitude scaling factor ...
*> > 
*> > If you have an idea how to implement this please float it on the list first
*> 
*> There is a third condition: a smart UI.
*> The simplest is to adopt the same mechanism as with --x-grid, i.e.
*>   GVA:GST:MVA:MST:LVA:LST:LPR:FMT
*> (where VA stands for VAlue, where you wrote ``amount of time''
*> for x-grid).
*> Empty values may refer to some defaults, e.g.
*>   :::::::%4.1f
*> will solve my initial problem.
*> 
*> For backward compatibility, you have to check how many colons are
*> contained in this argument, and switch to old- or new-style grids.
*> 
*> Note that i do not understand what PR stand for, and many other things,
*> so forgive me if i am fully wrong. 

the problem of 'just' adopting the --x-grid for y is that the x grid is
especially tuend to configuring the time axis ... this does not work
directly for the y axis which is not time at all ... try to write a full
documentation entry for the proposed --x-grid behaviour and youwill see
where the catch is ... 

cheers
tobi
*> 
*> Regards
*> 
*> Denis
*> 
*> --
*> Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
*> Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
*> Archive     http://www.ee.ethz.ch/~slist/rrd-users
*> 

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users



More information about the rrd-users mailing list