-
Notifications
You must be signed in to change notification settings - Fork 0
/
cplot3d.htm
72 lines (68 loc) · 1.78 KB
/
cplot3d.htm
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Plotter</title>
<script src = "plot.js">
</script>
<script src = "eplot.js">
</script>
<script src = "cplot.js">
</script>
<script>
click=clickidle;
plot=cplot3d;
</script>
<link rel="stylesheet" href="s1.css">
</head>
<body>
<br>
<br><br>
<canvas id="canvas1" width="720" height="480"
style="border: thin solid gray">
No canvas.
</canvas>
<div class="nb">
<input type="button" value="plot"
onclick="cplot3d()">
<input type="button" value="<"
onclick="shiftphim(); cplot3d()">
<input type="button" value=">"
onclick="shiftphip(); cplot3d()">
<input type="button" value="abs"
onclick="fplot=cabs; cplot3d()">
<input type="button" value="re"
onclick="fplot=real; cplot3d()">
<input type="button" value="im"
onclick="fplot=imag; cplot3d()">
<br><br>
f(z) = <input type="text" id="inputf" style="width: 600px"
value = "z" onkeyup="handle_keys(event);">
<br><br>
<table><tr><td style="padding-left: 0em">
x0 = <input type="text" id="inputx" value="0"><br>
y0 = <input type="text" id="inputy" value="0"><br>
mx = <input type="text" id="inputmx" value="20"><br>
my = <input type="text" id="inputmy" value="20"><br>
nx = <input type="text" id="inputnx" value="200"><br>
ny = <input type="text" id="inputny" value="200">
</td><td style="padding-left: 2em">
phi = <input type="text" id="inputphi" value="0"><br>
w = <input type="text" id="inputw" value="10"><br>
m = <input type="text" id="inputm" value="1">
</td></tr>
</table>
<br>
<a href="doc.htm" class="modest">help</a>
(<a href="doc-de.htm" class="modest">Hilfe</a>)
<br><br>
<input type="button" value="calc" onclick="calc()">
<input type="text" id="inputc" style="width:400px"
onkeyup="calc_keys(event);">
<br>
<p id="ans" class="mono">ans =</p>
<br><br>
<br>
</div>
</body>
</html>