-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex-emg.html
More file actions
36 lines (30 loc) · 758 Bytes
/
index-emg.html
File metadata and controls
36 lines (30 loc) · 758 Bytes
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
<head>
<meta charset="utf-8">
<style> /* set the CSS */
.line {
fill: none;
stroke: white;
stroke-width: 1px;
stroke-opacity: 0.9;
}
</style>
<p>
<label for="nValue"
style="display: inline-block; width: 240px; text-align: right">
window = <span id="nValue-value"></span>
</label>
<input type="number" min="0" max="500" step="20" value="100" id="nValue">
</p>
</head>
<title>RMS demo</title>
<script src="https://d3js.org/d3.v4.min.js"></script>
<body>
<div id="n1"></div>
<div id="option">
<input name="rmsButton"
type="button"
value="Calculate RMS"
onclick="calcRMS()" />
</div>
<script src="app-emg.js"></script>
</body>