Tag Info

New answers tagged

2

Both styles are possible Row[{ Manipulate[ ContourPlot[ a[x, y] == 0, {x, -5, 5}, {y, -5, 5}], {{a, #1 - #2 &}}], Manipulate[ ContourPlot[ a == 0, {x, -5, 5}, {y, -5, 5}], {{a, x - y}}]} ] Edit Answering your comment below, you may use the function in many ways. Here I numerically solve a differential equation involving it: ...


2

Implementation 1 This should produce the desired GUI. askUser[matrix_] := DialogInput[ Column[{ Grid[{ToString@#1, InputField[Dynamic[#1], FieldSize -> Tiny], ToString@#2, InputField[Dynamic[#2], FieldSize -> Tiny]} & @@@ matrix, Alignment -> Left], Row[{CancelButton[], DefaultButton[DialogReturn[matrix]]}] }]] ...



Top 50 recent answers are included