fixed plot3 labels and legend