Modified legend in plot4