Hi Jean, Today Jean-Yves Avenard wrote:
> Silly me; I got the order of the arguments wrong for IF. > > I have however found something very weird... > > If I do: > "DEF:tt=dummy.rrd:dummy:AVERAGE", > > "CDEF:day1=tt,POP,TIME,$sunrise1,$sunset1,LIMIT,UN,UNKN,INF,IF", > "AREA:day1#32348e", > > "CDEF:dusk1=tt,POP,TIME,$sunset1,$dusk1,LIMIT,UN,UNKN,INF,IF", > "AREA:dusk1#2d2d5f", > > Then between the first colour and the 2nd colour, there is a big white line... > > I have to do: > "DEF:tt=dummy.rrd:dummy:AVERAGE", > > "CDEF:day1=tt,POP,TIME,$sunrise1,$sunset1,LIMIT,UN,UNKN,INF,IF", > "AREA:day1#32348e", > > "CDEF:dusk1=tt,POP,TIME,$sunset1,187,-,$dusk1,LIMIT,UN,UNKN,INF,IF", > "AREA:dusk1#2d2d5f", > > I must make the two time zone overlap by 187s to remove the white > line... Any lesser value and the white line shows ... > > > This is with a resolution of 300 (5 minutes) I guess the cause of the problem is the anti aliasing performed causing the edge of the area to blend with the background ... overlapping is certainly a good idea ... cheers tobi > Any ideas why ? > > Thank you > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900 _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
