Re: 如何编JSL语句让分布分析自动把变化我是想让窗口内容随着radio box的选择,自动更新。之前的窗口关闭,更新为新的。
Re: 如何编写JSL语句让分布分析自动把变化这可能是你要找的
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
cc = {"height","weight"};
nw = new window("Chooser",
rb= radio box(cc,
theColumn = rb << get;
Distribution( Continuous Distribution( Column( cc[theColumn] ) ) )
)
);Re: 如何编JSL语句让分布分析自动把变化非常感谢,太棒了!
Re: 如何编写JSL语句让分布分析自动把变化看看这是不是你想要的
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
cc = {"height", "weight"};
nw = New Window( "Chooser",
rb = Radio Box(
cc,
theColumn = rb << get;
Try( dis << delete );
vlb << append( dis = Distribution( Continuous Distribution( Column( cc[theColumn] ) ) ) );
),
vlb = V List Box(
dis = Distribution( Continuous Distribution( Column( cc[1] ) ) )
)
);
但我真正认为你应该使用的是内置的 Column Switcher

名称默认为此处(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
分配(
连续分布(列(:高度),始终使用列属性(1)),
列切换器(:高度,{:高度,:重量})
);
如何编JSL语句让分布分析自动把变化我写了一个程序,但并没有随着我选择单选框的价值,自动改变。
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
cc={"身高", "体重"};
New Window( "Example",
aa=1;
rb = Radio Box( {"身高", "体重"},
aa= rb<<GET></GET>Windows