6 plot figure with legends