Keywords: Manhattan distance.svg Figure illustrating Manhattan versus Euclidean distance The red blue and yellow lines all have the same length 12 whereas the green line has length <math>\sqrt 72 \approx 8 4853</math> Created by User Psychonaut with XFig 2006-04-25 User Psychonaut I release this image and its source code into the public domain Source code <pre> FIG 3 2 Landscape Center Metric A4 100 00 Single -2 1200 2 0 32 b2b2b2 1 3 0 1 0 0 40 -1 20 0 000 1 0 0000 3150 450 127 127 3150 450 3240 540 1 3 0 1 0 0 40 -1 20 0 000 1 0 0000 450 3150 127 127 450 3150 540 3240 2 1 0 10 32 32 50 -1 0 0 000 0 0 -1 0 0 2 450 3375 450 225 2 1 0 10 32 32 50 -1 0 0 000 0 0 -1 0 0 2 900 3375 900 225 2 1 0 10 32 32 50 -1 0 0 000 0 0 -1 0 0 2 1350 3375 1350 225 2 1 0 10 32 32 50 -1 0 0 000 0 0 -1 0 0 2 1800 3375 1800 225 2 1 0 10 32 32 50 -1 0 0 000 0 0 -1 0 0 2 2700 3375 2700 225 2 1 0 10 32 32 50 -1 0 0 000 0 0 -1 0 0 2 3150 3375 3150 225 2 1 0 10 32 32 50 -1 0 0 000 0 0 -1 0 0 2 2250 3375 2250 225 2 1 0 10 32 32 50 -1 0 0 000 0 0 -1 0 0 2 225 450 3375 450 2 1 0 10 32 32 50 -1 0 0 000 0 0 -1 0 0 2 225 900 3375 900 2 1 0 10 32 32 50 -1 0 0 000 0 0 -1 0 0 2 225 1350 3375 1350 2 1 0 10 32 32 50 -1 0 0 000 0 0 -1 0 0 2 225 1800 3375 1800 2 1 0 10 32 32 50 -1 0 0 000 0 0 -1 0 0 2 225 2250 3375 2250 2 1 0 10 32 32 50 -1 0 0 000 0 0 -1 0 0 2 225 2700 3375 2700 2 1 0 10 32 32 50 -1 0 0 000 0 0 -1 0 0 2 225 3150 3375 3150 2 1 0 2 4 4 30 -1 -1 0 000 0 0 -1 0 0 3 427 3150 427 427 3150 427 2 1 0 2 1 4 30 -1 -1 0 000 0 0 -1 0 0 13 450 3150 450 2700 900 2700 900 2250 1350 2250 1350 1800 1800 1800 1800 1350 2250 1350 2250 900 2700 900 2700 450 3150 450 2 1 0 2 31 4 30 -1 -1 0 000 0 0 -1 0 0 5 450 3150 2700 3150 2700 2250 3150 2250 3150 450 2 1 0 2 14 4 30 -1 -1 0 000 0 0 -1 0 0 2 495 3150 3150 495 </pre> taxicab distance |