-
Notifications
You must be signed in to change notification settings - Fork 1
/
complex.html
89 lines (83 loc) · 1.94 KB
/
complex.html
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>D3 Complex Number</title>
<script type="text/javascript" src="d3/d3.v3.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet"
media="screen">
<style type="text/css">
.axis path,
.axis line {
fill: none;
stroke: grey;
shape-rendering: crispEdges;
}
.axis text {
font-family: sans-serif;
font-size: 11px;
}
.div text {
font-family: sans-serif;
font-size: 11px;
}
.z0 {
stroke: blue;
stroke-width: 1;
fill: none;
}
.z1 {
stroke: green;
stroke-width: 1;
fill: none;
}
.z2 {
stroke: purple;
stroke-width: 1;
fill: none;
}
.z3 {
stroke: red;
stroke-width: 1;
fill: none;
}
.unit {
stroke: grey;
stroke-width: 1;
fill: none;
}
.dashed {
stroke: grey;
stroke-width: 1;
stroke-dasharray: 2 2;
}
p.z0 {
color: blue;
}
p.z1 {
color: green;
}
p.z2 {
color: purple;
}
p.z3 {
color: red;
}
</style>
</head>
<body>
<div class="conatiner">
<div class="row">
<div class="span4">
<div id="data" class="hero-unit"></div>
</div>
<div class="span8" class="hero-unit">
<div id="graph"></div>
</div>
</div>
</div>
<script type="text/javascript" src="complex.js"></script>
</body>
</html>