adjust figure dim