Since this is a duplicate question created in multiple forum threads so further discussion related to this topic "edit legend" will be discussed on the below-mentioned forum thread
https://forum.ansys.com/forums/topic/unable-to-edit-mechanical-contour-legend/
Regards,
Sampat