| Author |
Comment/Response |
Michael
|
01/10/13 4:15pm
In Response To 'Re: Checking dynamically updated variable' --------- See if this works for you:
k2 = {1, 2, 3};
k4 = {4, 5, 6};
Grid[{{"k2", InputField[Dynamic[k2]]}, {"k4",
InputField[Dynamic[k4]]}}]
Graphics3D[{{Black, Dashed, Thick,
Line[{{1, 0, 0}, {0, 0, Min[0, k2[[3]], k4[[3]]]}}]}}] // Dynamic
You had both k2 and k4. They need to be initialized or the Graphics3D will produce an error message. You also had only one point in the Line. You need at least two points to see one.
URL: , |
|