769 reputation
415
bio website math.sunysb.edu/~sdalton
location Stony Brook, NY
age 30
visits member for 2 years, 7 months
seen 5 hours ago

Professional book-reader.


Jul
2
awarded  Curious
May
26
awarded  Popular Question
Apr
20
comment Little triangles appearing in a Mathematica region plot with “opacity” saved in a PDF file
See the answers at mathematica.stackexchange.com/questions/18625/…
Feb
18
accepted Capturing an F1
Feb
18
accepted How to annotate a Grid?
Feb
7
comment Capturing an F1
@Kuba: but how does one store a value in a notebook? That is something I don't know how to do, and haven't gotten the answers to fully work over at mathematica.stackexchange.com/questions/5959/…
Feb
7
comment Capturing an F1
@bills: I actually would like to make sure they visit the help, however they do it. It's just that I explain the F1 option to them in class, which is why I would expect most would go that route.
Feb
7
comment Saving data inside a notebook so that I don't have to run it again?
Rojo, sorry I missed this chat invitation. Any way we could continue our discussion at some point? I would really like to be able to work this out.
Feb
7
comment Capturing an F1
This is great, but is there any way to store the lookedup variable between sessions? The students will do the lab, close it, send it to me, then I open it. Any way I can still find out what help items they've visited?
Feb
7
asked Capturing an F1
Jan
27
comment Saving data inside a notebook so that I don't have to run it again?
But then how would one use this mechanism to store something in the notebook from within a function? So that it is accessible from outside the function?
Jan
27
comment Saving data inside a notebook so that I don't have to run it again?
Yes, the function only does one thing (I am trying to keep it simple): it is passed a name, and tries to store that name in the notebook. For example, name="test";StoreInNotebook[name];GetFromNotebook[name] works just fine. It is the fact that StoreInNotebook is called from inside a function that is the problem I can't fix.
Jan
27
comment Saving data inside a notebook so that I don't have to run it again?
The following (after your code above) shows the problem: func[name_String] := StoreInNotebook[name]; func["test"]; GetFromNotebook[name] The reason I asked is because I have a function that is passed someone's name, and I would like to store that name in the notebook; I then later would like to recover the name.
Jan
27
comment Saving data inside a notebook so that I don't have to run it again?
This is so useful, but I have a problem with using it inside a function call: namely, if I use StoreInNotebook within a function, then try to call GetFromNotebook later on, I get the error Uncompress::string: String expected at position 1 in Uncompress[Inherited]. Any thoughts?
Jan
22
awarded  Yearling
Dec
21
awarded  Nice Question
Dec
15
awarded  Nice Question
Dec
12
comment Drawing an arrow pointing at the “Enable Dynamics” button
Wouldn't the usual Mathematica button still display when this notebook is opened?
Dec
12
asked Drawing an arrow pointing at the “Enable Dynamics” button
Aug
27
comment How to annotate a Grid?
Wow, thanks! I'll try that out now and see if I can find a way to "automate" finding the coordinates for the arrows.