Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum > General > > "Checking dynamically updated variable"

Post Reply:
Name:
Email Address:

Please send email when my message is replied to.

Url (optional):
Subject:
Message: view original message?
Attachment (optional):
Please answer this:1+1 =



Original Message (ID '226814') By Michael:
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.