Draw figure function ready