如何使用 JSL 将多个绘图合并到 1 个选项卡中你好,我有两个不同的情节,我想将它们合并到我日记的一个选项卡中。
dt=open("$SAMPLE_DATA/big class.jmp");
// Plot 1
biv = dt << Bivariate( invisible, Y( :height ), X( :weight ), By( :sex ) );
// Create the window, with the first tab
nw=New Window("Tabs", text box("here are the tabs"), tb = Tab Box((report(biv[1])[outlinebox(1)])<<GET title=""></GET>
My question is, how can I combine these two different plot in 1 tab? I am using JMP 15
<LINGO-LABS id="lingo-labs-718151" slang="en-US" mode="CREATE"><LINGO-LABEL>自动化和脚本编写</LINGO-LABEL><LINGO-LABEL>视窗</LINGO-LABEL></LINGO-LABS>回复:如何使用 JSL 将多个绘图合并到 1 个选项卡中尝试下面的 JSL,这是做你想做的事情的一种方法

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );
// Plot 1
biv = dt << Bivariate( invisible, Y( :height ), X( :weight ), By( :sex ) );
dis = Distribution( Continuous Distribution( invisible, Column( :height ) ) );
// Create the window, with the first tab
nw = New Window( "Tabs",
Text Box( "here are the tabs" ),
tb = Tab Box( (Report( biv[1] )[Outline Box( 1 )]) << get title, Report( biv[1] ) )
);
//Plot 2
biv2 = bivariate( x( :height ), y( :weight ), invisible );
tb << Append( "Plot 2", hlb = H List Box( biv2 << Report ) ); // Add an H List Box to the tab
hlb << append( dis << report ); // Append additional items to the H List Box