add legend and axis label in figures