我想將菜單項添加到本機JMP平台,而不必將其包裝在大綱框中或類似的內容中。
像下面
Names default to here(1);
dt = open("$SAMPLE_DATA\Big Class.jmp");
biv = dt << Bivariate(Y(:height), X(:weight));
bivr = report(biv);
bivr << Set Menu Script({"something", print("something")});
//doesn't work unless I do this and then it gets rid of all of the native platform scripts
bivr << Set Scriptable Object(Empty());
//I want to be able to do something like
bivr << Add Menu Script(index, "name", script);