INPS:   Inserting EPS graph --------------------------- | You can include the other EPS graph in any place except for inside H section as .. container:: minipage angel-doublebox ``INPS: {`` :math:`file.name` ``} X(`` :math:`x` ``) Y(`` :math:`y` ``) IX(`` :math:`ix` ``) IY(`` :math:`iy` ``) S(`` :math:`s` ``) SX(`` :math:`sx` ``) SY(`` :math:`sy` ``) A(`` :math:`a` ``)`` | You should specify an including EPS file name in ``{ }``. ANGEL can support hole inclusion of EPS file and only EPS file with one page and the description of bounding box as ``%%BoundingBox``. The included graph is shown at ( :math:`x`, :math:`y` ), and scaled by :math:`s`, and also rotated by :math:`a` degree if necessary. INPS: parameters ~~~~~~~~~~~~~~~~ .. container:: center .. table:: INPS: parameters +------------------------------+----------------------------------------------------------+ | parameters |       explanation | +==============================+==========================================================+ | ``{`` :math:`filename` ``}`` | EPS file name which should be included | +------------------------------+----------------------------------------------------------+ | ``X(`` :math:`x` ``)`` | :math:`x` position of EPS graph (D=origin of x-axis) | +------------------------------+----------------------------------------------------------+ | ``Y(`` :math:`y` ``)`` | :math:`y` position of EPS graph (D=origin of y-axis) | +------------------------------+----------------------------------------------------------+ | ``IX(`` :math:`ix` ``)`` | .. container:: minipage | | | | | | | Image position relative to the x coordinate | | | | :math:`ix=1`: left edge (default) | | | | :math:`ix=2`: horizontal center | | | | :math:`ix=3`: right edge | +------------------------------+----------------------------------------------------------+ | ``IY(`` :math:`iy` ``)`` | .. container:: minipage | | | | | | | Image position relative to the y coordinate | | | | :math:`iy=1`: lower edge (default) | | | | :math:`iy=2`: vertical center | | | | :math:`iy=3`: upper edge | +------------------------------+----------------------------------------------------------+ | ``S(`` :math:`s` ``)`` | Change the scale of EPS by :math:`s` (D=1) | +------------------------------+----------------------------------------------------------+ | ``SX(`` :math:`sx` ``)`` | Change x-scale of EPS :math:`sx` (D=1) | +------------------------------+----------------------------------------------------------+ | ``SY(`` :math:`sy` ``)`` | Change y-scale of EPS :math:`sy` (D=1) | +------------------------------+----------------------------------------------------------+ | ``A(`` :math:`a` ``)`` | Rotate EPS by :math:`a` degree in counterclockwise (D=0) | +------------------------------+----------------------------------------------------------+ Example of inserting EPS graph ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In the following example, we insert an EPS graph at (0,0) rotated by 15 degrees. As we define ``IX(2) IY(2)``, the center of graph is located at (0,0) in the original graph. We can draw the frame of EPS graph by using ``BOX:``. .. rubric:: List 2.1 • Example of inserting EPS graph :name: list-2-1 :class: angel-list-caption .. code-block:: text 1: P: PORT NOMS NOFR NOXT NOYT 2: P: XMIN(-3) XMAX(3) YMIN(-3) YMAX(3) NOSP FORM(1.0) 3: P: XDTC(-1) YDTC(-1) AFAC(0.7) 4: BOX: BOX(ovalbox) X(0) Y(0) A(15) SX(14) SY(17) 5: INPS: {tiger.ps} X(0) Y(0) A(15) IX(2) IY(2) S(0.4) The following graph is obtained by this input. .. figure:: assets/fig221.png :name: fig-ref-2-1 :align: center :class: responsive-figure :width: 476.1pt Example of inserting EPS graph