add figure legends