summaryrefslogtreecommitdiff
path: root/41568-t/images/src/fig23.xp
blob: 926efb07f7432b6881d9c7b4ba64ec0e492bccb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* -*-ePiX-*- */
#include "epix.h"
using namespace ePiX;

int main()
{
  picture(P(0, 0), P(3, 1.5), "2 x 1in");

  begin();
  arrow_width(6);
  arrow_ratio(2);
  arrow_inset(0.75);

  P pA(0, 0), pB(2.25, 1.5), pC(2.75, 0);

  bold();

  triangle(pA, pB, pC);

  dot(pA, P(0, -4), "$A$", b);
  dot(pB, P(2, 0), "$B$", r);
  dot(pC, P(0, -4), "$C$", b);

  tikz_format();
  end();
}