您好,有一些類似的帖子,但我還沒有找到我正在尋找的內容。
我製作了兩個不同指數的阿爾法多樣性圖,並希望並排呈現它們(它們的比例不同)
使用兩個 Y 軸(例如左右)會令人困惑。
所以我想實際上製作兩個單獨的圖表並並排顯示它們。
這是 R 中 phyloseq 包的輸出。

我也將數據作為表格,並希望在 JMP 中重新創建繪圖。 有任何想法嗎?
謝謝,以斯拉
如果您只想“點擊”,您可以通過“手動”設置您想要的圖形,然後使用“窗口 > 組合窗口...”來接近:

dt = Open( "$sample_data/big class.jmp" );
New Window( "two graphs",
V List Box(
H List Box(
dt << Graph Builder(
Size( 512, 442 ),
Show Control Panel( 0 ),
Show Legend( 0 ),
Variables( X( :age ), Y( :height ) ),
Elements( Points( X, Y, Legend( 5 ) ) ),
SendToReport(
Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "" ), Image Export Display( Normal )} ),
Dispatch( {}, "X title", TextEditBox, {Set Text( "" )} ),
Dispatch( {}, "Y title", TextEditBox, {Set Text( "" )} ),
Dispatch( {}, "age", ScaleBox, {Label Row( {Major Grid Line Color( 2 ), Show Major Grid( 1 )} )} ),
Dispatch( {}, "height", ScaleBox, {Label Row( {Major Grid Line Color( 2 ), Show Major Grid( 1 )} )} ),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "Height" )} ),
Dispatch( {}, "Graph Builder", FrameBox, {Background Color( 32 )} )
)
);
// identical but for height...weight in three places
dt << Graph Builder(
Size( 512, 442 ),
Show Control Panel( 0 ),
Show Legend( 0 ),
Variables( X( :age ), Y( :weight ) ),
Elements( Points( X, Y, Legend( 5 ) ) ),
SendToReport(
Dispatch( {}, "Graph Builder", OutlineBox, {Set Title( "" ), Image Export Display( Normal )} ),
Dispatch( {}, "X title", TextEditBox, {Set Text( "" )} ),
Dispatch( {}, "Y title", TextEditBox, {Set Text( "" )} ),
Dispatch( {}, "age", ScaleBox, {Label Row( {Major Grid Line Color( 2 ), Show Major Grid( 1 )} )} ),
Dispatch( {}, "weight", ScaleBox, {Label Row( {Major Grid Line Color( 2 ), Show Major Grid( 1 )} )} ),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "Weight" )} ),
Dispatch( {}, "Graph Builder", FrameBox, {Background Color( 32 )} )
)
);
),
H Center Box( Text Box( "two graphs", <<SETFONTSIZE></SETFONTSIZE>
在圖形生成器中以交互方式製作圖形,然後保存腳本並在其周圍創建一個新窗口。