[rrd-users] Vertical Axis label
Petteri Matilainen
pmatil at gmail.com
Tue Dec 25 22:32:16 CET 2007
I believe you could just add one or two new lines to the y-axis label,
with \n: --vertical-label "pH\n" \
cheers,
Petteri Matilainen
Rob Conway wrote:
> Hi list,
>
> My label for the vertical axis is very close to the scale. How can I
> move the label away from the scale. ?
>
> http://img.photobucket.com/albums/v319/rjconway/ph1W.png
>
>
> ## Aquarium PH GRAPH ##
> rrdtool graph /var/www/ph1d.png --start $stime --end $etime \
> --upper-limit 7.2 --lower-limit 6.2 --slope-mode --units-length 2 \
> --rigid \
> --width 478 --height 118 \
> --title "pH" --vertical-label "pH" \
> --color FONT#E0E0E0 \
> --color CANVAS#000000 \
> --color BACK#121212 \
> DEF:phv=/var/scripts/rrd/aqua_ph.rrd:P1:AVERAGE LINE1:phv#0000FF:"Ph=" \
> VDEF:phlast=phv,LAST GPRINT:phlast:"%3.2lf%S" \
> VDEF:phavg=phv,AVERAGE GPRINT:phavg:"avg=%3.2lf%spH " \
> --watermark "Aquarium PH Graph"
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
More information about the rrd-users
mailing list