Zimbabwe President Robert Mugabe made his first public appearance since the military put him under house arrest this week, attending a graduation ceremony in the capital, Harare, to applause.