New legend version for plot4