check_scales function

Check plot scales