我想将菜单项添加到本机 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);