I've done some more experimenting and it seems that my data set is out
of scope when it becomes time to plot my data on the graphsheet.
If I use and
assign(x="dataSet", value=dataSet, frame=0) to keep the dataSet object
around after the function executes, then I get rid of my error messages
and the graph displays properly. There's a huge problem with this, in
that, if I call the functiion more than once, I'll be overwriting one
dataset with a different dataset and lose the first.
So I guess the question is how to make graphsheets and/or the guiCreate
type methods keep working after the function has executed?
Surely there's some way to use graphsheets with data passed in as a
functon parameter.
What would it be?
Thom
|