-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlike-plt-logo.tex
53 lines (38 loc) · 1.17 KB
/
like-plt-logo.tex
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
% lambda.mp
% last modified 20161111
\verbwritefile lambda.mp
\verbwrite{
% File: lambda.mp
prologues := 3;
outputformat := "eps";
outputtemplate := "%j-%c.%o";
beginfig(1);
r = 2cm;
path c; c = fullcircle scaled 2r;
z.lambda.top = (0,(r-2mm)) rotated 15;
z.lambda.lft = (0,-(r-2mm)) rotated -40;
z.lambda.rt = (0,-(r-2mm)) rotated 40;
z.pi = (0,r+3mm);
path d; d = quartercircle scaled 2r rotated -90 &
halfcircle scaled 2r;
fill c withcolor red;
z.lambda.mid = .5[z.lambda.top,z.lambda.rt];
path lambda.top, lambda.rt;
lambda.top = z.lambda.mid .. (0,(r+1mm)) rotated 15;
lambda.rt = z.lambda.mid .. (0,-(r+1mm)) rotated 40;
path bluepart; bluepart = buildcycle(lambda.top, d, lambda.rt);
fill bluepart withcolor blue;
drawdblarrow (-r,-(r+6mm)) -- (r, -(r+6mm));
label.bot(btex $1$ etex, (0,-(r+7mm)));
drawarrow z.pi rotated 8 .. z.pi rotated 80 ..
z.pi rotated 178;
drawarrow z.pi rotated -8 .. z.pi rotated -80 ..
z.pi rotated -178;
label(btex $\pi$ etex, z.pi);
pickup pencircle scaled 4mm;
draw z.lambda.top .. z.lambda.rt withcolor white;
draw .4[z.lambda.top,z.lambda.rt] .. z.lambda.lft withcolor white;
endfig;
end.
}
\verbwritefile Z-eof