[rrd-users] printing variables

Gil Coutinho gilc at fe.up.pt
Fri Jul 20 18:25:10 MEST 2001



Hi all:

I have the a problem with printing some data on the bottom of my graphs.
I want to make a tabular view like this:

        Last    Max     Min
Var 1:  3.2     5.6     2.0
Var 2:  4.5     6.0     2.4

(and so on; I trust you are using a monotype font)

The problem is with the %lf precision.
I can use %.1lf to limit the number of decimal spaces after the dot, but i
can't seem to specify the number o digits on the left of the dot.
This way, if the value grows to 10, I get my table desaligned.

I've tried
%2.1lf
%00.1lf
%02.1lf

Did anyone have that problem?
Is there any way I can do this?

thanks a lot
_____________
 Gil Coutinho
gilc at fe.up.pt


--
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
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list