x and y axis main lines; getheight and width funcs