added auto-scale for x,y retina plot