如何使用 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