[rrd-users] Re: [rrdgraph] Y labels
Tobias Oetiker
oetiker at ee.ethz.ch
Fri Feb 4 16:27:47 MET 2000
Today you sent me mail regarding [rrd-users] Re: [rrdgraph] Y labels:
*> On Fri, 4 Feb 2000, Tobias Oetiker wrote:
*>
*> > 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.
*> [snip]
*> > 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 ...
*>
*> Let me try:
*>
*> =item B<-y>|B<--y-grid> I<y-axis grid and label> (default
*> autoconfigure)
*>
*> The y-axis label is configured like x-axis. Syntax is
*>
*> I<GOV>B<:>I<GST>B<:>I<MOV>B<:>I<MST>B<:>I<LOV>:I<LST>B<:>I<LFM>
*>
*> It is similar to x-axis except that no precision is needed
*> for labels, origins of grids and labels are set by numerical
*> values named I<?OV>, and printf format is used instead of
*> strftime format.
*>
*> If you wanted to draw a graph showing your CPU load with a
*> base grid every half-unit and a major one every unit, with
*> labels every 2 units, you would use the following y-axis
*> definition.
*>
*> C<0:0.5:0:1:0:2:%4.1f>
*>
*> Default format (using SI units) has no printf equivalent,
*> and is rendered by the C<%S> directive.
the ?OV value would allow shift the grid line vertically ?
this sounds good ... care to create a patch ?
cheers
tobi
--
______ __ _
/_ __/_ / / (_) 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