HI I am trying to align the legends as seen in the attched pic. I tried using gprint but not successful. Could any one of you help me out . I am printing my code also. Regards, Anuj Code #!/bin/bash rrdtool graph \ /var/www/html/rrdimages/l3c00proto1h.jpg \ --start -1h \ --height 220 --width 600 \ --vertical-label="(+ Outbound / - Inbound)" \ --alt-autoscale \ --title="Common Protocol Traffic" \ COMMENT:"Traffic Threshold\n" \ DEF:ProtocolIN20=00l3c.rrd:prototo20:MAX \ DEF:upperint20=00thresholdl3c.rrd:prototo20:MAX \ DEF:ProtocolOUT20=00l3c.rrd:protofrm20:MAX \ DEF:uppert20=00thresholdl3c.rrd:protofrm20:MAX \ CDEF:prototo20=ProtocolIN20,-1,* \ CDEF:negupper20=upperint20,-1,* \ LINE2:prototo20#FF0000:"hmp " \ LINE2:ProtocolOUT20#FF0000 \ LINE3:uppert20#4169E1 \ COMMENT:" " \ LINE3:negupper20#4169E1:"hmp \n" \ DEF:ProtocolIN19=00l3c.rrd:prototo19:MAX \ DEF:upperint19=00thresholdl3c.rrd:prototo19:MAX \ DEF:ProtocolOUT19=00l3c.rrd:protofrm19:MAX \ DEF:uppert19=00thresholdl3c.rrd:protofrm19:MAX \ CDEF:prototo19=ProtocolIN19,-1,* \ CDEF:negupper19=upperint19,-1,* \ LINE2:prototo19#A9A9A9:"dcn " \ LINE2:ProtocolOUT19#A9A9A9 \ LINE3:uppert19#00BFFF \ COMMENT:" " \ LINE3:negupper19#00BFFF:"dcn \n" \ DEF:ProtocolIN14=00l3c.rrd:prototo14:MAX \ DEF:upperint14=00thresholdl3c.rrd:prototo14:MAX \ DEF:ProtocolOUT14=00l3c.rrd:protofrm14:MAX \ DEF:uppert14=00thresholdl3c.rrd:protofrm14:MAX \ CDEF:prototo14=ProtocolIN14,-1,* \ CDEF:negupper14=upperint14,-1,* \ LINE2:prototo14#D742C7:"emcon " \ LINE2:ProtocolOUT14#D742C7 \ LINE3:uppert14#000000 \ COMMENT:" " \ LINE3:negupper14#000000:"emcon \n" \ DEF:ProtocolIN15=00l3c.rrd:prototo15:MAX \ DEF:upperint15=00thresholdl3c.rrd:prototo15:MAX \ DEF:ProtocolOUT15=00l3c.rrd:protofrm15:MAX \ DEF:uppert15=00thresholdl3c.rrd:protofrm15:MAX \ CDEF:prototo15=ProtocolIN15,-1,* \ CDEF:negupper15=upperint15,-1,* \ LINE2:prototo15#9370DB:"xnet " \ LINE2:ProtocolOUT15#9370DB \ LINE3:uppert15#B1C101 \ COMMENT:" " \ LINE3:negupper15#B1C101:"xnet \n" \ DEF:ProtocolIN18=00l3c.rrd:prototo18:MAX \ DEF:upperint18=00thresholdl3c.rrd:prototo18:MAX \ DEF:ProtocolOUT18=00l3c.rrd:protofrm18:MAX \ DEF:uppert18=00thresholdl3c.rrd:protofrm18:MAX \ CDEF:prototo18=ProtocolIN18,-1,* \ CDEF:negupper18=upperint18,-1,* \ LINE2:prototo18#FFD700:"mux " \ LINE2:ProtocolOUT18#FFD700 \ LINE3:uppert18#FA7899 \ COMMENT:" " \ LINE3:negupper18#FA7899:"mux \n" \ DEF:ProtocolIN11=00l3c.rrd:prototo11:MAX \ DEF:upperint11=00thresholdl3c.rrd:prototo11:MAX \ DEF:ProtocolOUT11=00l3c.rrd:protofrm11:MAX \ DEF:uppert11=00thresholdl3c.rrd:protofrm11:MAX \ CDEF:prototo11=ProtocolIN11,-1,* \ CDEF:negupper11=upperint11,-1,* \ LINE2:prototo11#FFA500:"nvp " \ LINE2:ProtocolOUT11#FFA500 \ LINE3:uppert11#C0FF00 \ COMMENT:" " \ LINE3:negupper11#C0FF00:"nvp \n" \ DEF:ProtocolIN17=00l3c.rrd:prototo17:MAX \ DEF:upperint17=00thresholdl3c.rrd:prototo17:MAX \ DEF:ProtocolOUT17=00l3c.rrd:protofrm17:MAX \ DEF:uppert17=00thresholdl3c.rrd:protofrm17:MAX \ CDEF:prototo17=ProtocolIN17,-1,* \ CDEF:negupper17=upperint17,-1,* \ LINE2:prototo17#A52A2A:"udp " \ LINE2:ProtocolOUT17#A52A2A \ LINE3:uppert17#00FFFF \ COMMENT:" " \ LINE3:negupper17#00FFFF:"udp \n" \ DEF:ProtocolIN16=00l3c.rrd:prototo16:MAX \ DEF:upperint16=00thresholdl3c.rrd:prototo16:MAX \ DEF:ProtocolOUT16=00l3c.rrd:protofrm16:MAX \ DEF:uppert16=00thresholdl3c.rrd:protofrm16:MAX \ CDEF:prototo16=ProtocolIN16,-1,* \ CDEF:negupper16=upperint16,-1,* \ LINE2:prototo16#228B22:"chaos " \ LINE2:ProtocolOUT16#228B22 \ LINE3:uppert16#CFA9EA \ COMMENT:" " \ LINE3:negupper16#CFA9EA:"chaos \n" \ DEF:ProtocolIN13=00l3c.rrd:prototo13:MAX \ DEF:upperint13=00thresholdl3c.rrd:prototo13:MAX \ DEF:ProtocolOUT13=00l3c.rrd:protofrm13:MAX \ DEF:uppert13=00thresholdl3c.rrd:protofrm13:MAX \ CDEF:prototo13=ProtocolIN13,-1,* \ CDEF:negupper13=upperint13,-1,* \ LINE2:prototo13#00FF7F:"argus " \ LINE2:ProtocolOUT13#00FF7F \ LINE3:uppert13#FEC7A9 \ COMMENT:" " \ LINE3:negupper13#FEC7A9:"argus \n" \ DEF:ProtocolIN12=00l3c.rrd:prototo12:MAX \ DEF:upperint12=00thresholdl3c.rrd:prototo12:MAX \ DEF:ProtocolOUT12=00l3c.rrd:protofrm12:MAX \ DEF:uppert12=00thresholdl3c.rrd:protofrm12:MAX \ CDEF:prototo12=ProtocolIN12,-1,* \ CDEF:negupper12=upperint12,-1,* \ LINE2:prototo12#5F9EA0:"pup " \ LINE2:ProtocolOUT12#5F9EA0 \ LINE3:uppert12#f96d54 \ COMMENT:" " \ LINE3:negupper12#f96d54:"pup \n" \
-- Attached file removed by Ecartis and put at URL below -- -- Type: image/pjpeg -- Desc: testimage.jpg -- Size: 8k (8813 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/testimage.jpg -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
