-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathisoDisplayAll.nb
100 lines (94 loc) · 2.99 KB
/
isoDisplayAll.nb
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
90
91
92
93
94
95
96
97
98
99
100
(* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 10.3' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 158, 7]
NotebookDataLength[ 2858, 91]
NotebookOptionsPosition[ 2611, 78]
NotebookOutlinePosition[ 2960, 93]
CellTagsIndexPosition[ 2917, 90]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
Notebook[{
Cell[BoxData[{
RowBox[{
RowBox[{"Needs", "[",
RowBox[{"\"\<ea18GF`\>\"", ",",
RowBox[{"FileNameJoin", "[",
RowBox[{"{",
RowBox[{
RowBox[{"NotebookDirectory", "[", "]"}], ",", "\"\<ea18GF.m\>\""}],
"}"}], "]"}]}], "]"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"vMin", "=", "10"}], ";",
RowBox[{"vMax", "=", "20"}], ";"}], "\[IndentingNewLine]",
RowBox[{"PopupMenu", "[",
RowBox[{
RowBox[{"Dynamic", "[", "vx", "]"}], ",",
RowBox[{"Range", "[",
RowBox[{"vMin", ",", "vMax"}], "]"}]}], "]"}], "\[IndentingNewLine]",
RowBox[{"Button", "[",
RowBox[{"\"\<getPairs\>\"", ",",
RowBox[{"Dynamic", "[",
RowBox[{
RowBox[{"px", "=",
RowBox[{"getPairs", "[", "vx", "]"}]}], ";",
RowBox[{"pxi", "=",
RowBox[{"px", "[",
RowBox[{"[", "1", "]"}], "]"}]}]}], "]"}]}],
"]"}], "\[IndentingNewLine]",
RowBox[{"Dynamic", "[",
RowBox[{"PopupMenu", "[",
RowBox[{
RowBox[{"Dynamic", "[", "pxi", "]"}], ",", "px"}], "]"}],
"]"}], "\[IndentingNewLine]",
RowBox[{"Dynamic", "[",
RowBox[{"Grid", "[",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"\"\<V\>\"", ",", " ", "\"\<pairs\>\""}], "}"}], ",",
RowBox[{"{",
RowBox[{"vx", ",", "pxi"}], "}"}]}], "}"}], "]"}],
"]"}], "\[IndentingNewLine]",
RowBox[{"Button", "[",
RowBox[{"\"\<get isoDisplay\>\"", ",",
RowBox[{
RowBox[{"disp", "=",
RowBox[{"isoDisplay", "[",
RowBox[{"vx", ",", "pxi"}], "]"}]}], ";",
RowBox[{"disp2", "=",
RowBox[{"isoDisplayV", "[",
RowBox[{"vx", ",", "pxi"}], "]"}]}]}], ",",
RowBox[{"Method", "\[Rule]", "\"\<Queued\>\""}]}],
"]"}], "\[IndentingNewLine]",
RowBox[{"Dynamic", "[", "disp", "]"}]}], "Input",
CellChangeTimes->{{3.697167995732571*^9, 3.697168178434868*^9}, {
3.697169558208501*^9, 3.6971695725684323`*^9}, {3.6971852073160253`*^9,
3.6971852588459845`*^9}, {3.6971852908790445`*^9, 3.6971853370151*^9}, {
3.6975095441347733`*^9, 3.6975095470003586`*^9}}]
},
WindowSize->{1088, 531},
WindowMargins->{{-1096, Automatic}, {102, Automatic}},
FrontEndVersion->"10.3 for Microsoft Windows (64-bit) (October 9, 2015)",
StyleDefinitions->"Default.nb"
]
(* End of Notebook Content *)
(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{}
*)
(*CellTagsIndex
CellTagsIndex->{}
*)
(*NotebookFileOutline
Notebook[{
Cell[558, 20, 2049, 56, 172, "Input"]
}
]
*)
(* End of internal cache information *)