Appium UiViewer image hierachy Error(The Warning tab is not visible after taking Screenshot)

I am new to appium, i have used it and its really great.
Recently i tried to work with the swipe functionality. i gone through "http://www.software-testing-tutorials-automation.com/2015/11/swipe-element-using-touchaction-class.html " URL but i was unable to find the exact two middle values .In this URL its showing the two values as (457,580). Please tell me how to calculate or get this