resize the Rhadoop figure