Question: How do I plot the perpendicular plot symbol (or right angle symbol) where two perpendicular lines meet?

Hi, I am creating a plot to demonstrate symmetry about the y=x axis, and I want to show that the line segment connecting two points is the perpedicular bisector of the line y=x. I have plotted y=x, the two points, and the line segment connecting those two points. How do I plot the perpendicular symbol (or right angle symbol) that is connected to the lines and shows that they are indeed perpendicular?

Please Wait...