How the Graphics Elements are Anchored

When you specify the X and Y coordinates for a graphics element, the element is drawn from an anchor point that is placed in the drawing area at the X and Y coordinates that you specify. For lines and arrows, the anchor point is the starting point of the line or arrow, which is specified with the X1 and Y1 options on the draw statement. For elements that have height and width, the anchor point can be one of the points shown in the following figure.
Anchor Points
By default, the anchor point is CENTER. You can use the ANCHOR= option on the draw statements to change the anchor point of your graphics elements.
Note: When you select the X and Y coordinates and the anchor point, make sure that when the graphics element is drawn, it does not extend beyond the boundaries of the drawing area. Any part of the element that is outside of the drawing area is clipped.