Hello,
My english may not be clear I apologise in advance if it's the case.
I try to create a graph in a graph box that I want to save in a journal.
To create lines in my graph, I have to put coordintates in a variable because this may be changing depending on some parameters in my data.
Everything is running fine until I save the journal. But when I re-open this journal from an other jmp session or even if I just run "clear globals" I loose everything. In fact , in the journal script, my variables keep their name and if I erase what is assign to my variable then the script of the journal will be bugging ( as it does not recognize anymore my variable).
I tried to put the code in an expression, to put it in a function, to use the "eval" or "eval(parse()" command and nothing id working so far which is driving me crazy.
Does anyone had the problem or have a clue to fix it?
Here is a code that re-create the problem
path ="C:\";
Var1=[10 30 90];
Var2=[88 22 44] ;
obj=New Window( "Example", Graph Box( Line( Var1, Var2 ) ) );
obj<<journal;
jrn= Current Journal();
jrn<<Save Journal(path||"jrn_test.jrn");
jrn<< close window();
obj<<close window();
clear globals();
path ="C:\";
open(path||"jrn_test.jrn");
Thank you very much in advance !
ps : I'm using JMP14.1.0 (64bits)