將數據表列條目與默認圖表標題連接起來我是 JMP 的新用戶,到目前為止很喜歡它的功能(來自 Matlab)
我想在圖表標題中包含數據表列之一中的條目,與默認圖表標題連接為
(這個特定條目對於其列中的所有行都是相同的,它是樣本 ID)。
默認圖表標題 [樣本 ID]
如何在腳本中做到這一點?
另外,我想知道是否可以在圖表中使用自定義文本(例如文本來自 Matlab 的命令)?
謝謝
大規模定制回复:將數據表列條目與默認圖表標題連接起來這是一個添加所需功能的非常簡單的示例。如果您以交互方式進行所需的更改,則可以讓 JMP 為您提供重現圖表的腳本,並且它會為您提供進行更改所需的 JSL

這是 JSL
Names Default To Here( 1 );
// Open Data Table: Big Class.jmp
// → Data Table( "Big Class" )
Open( "$SAMPLE_DATA/Big Class.jmp" );
// Report snapshot: Big Class - Fit Y by X of height by weight
biv = Data Table( "Big Class" ) <<
Bivariate( Y( :height ), X( :weight ) );
// Add some text on the graph. A complete baseline graphics
// environment (Much like the Mathworks environment) is available
// in JMP
Report( biv )[FrameBox( 1 )] <<
Add Graphics Script(
Text( Center Justified, {120, 62}, "MIDDLE" )
);
// Change the title of the outline box for the chart
// This simple example adds the value from row 1 of
// the Sex column
report(biv)[OutlineBox(1)] << set title(
char(report(biv)[OutlineBox(1)] << get title)
|| " " || :sex[1] );
我建議您花時間閱讀“幫助”下拉菜單下的“發現 JMP”文檔以及“基本繪圖”文檔(可在“幫助”下拉菜單下的 JMP 文檔庫中找到)