drawAxis for both graph