How to rotate a figure 180 degrees?

How to rotate a figure 180 degrees?