Adjusting figure and image margins