Leg exercises after a stroke are needed not just to "warm up the muscles," but to restore specific functions: sitting without slumping, getting up from a chair, transferring weight to the affected leg, taking a step, maintaining balance, turning, walking around the room, going outside, climbing stairs, and reducing the risk of falls.