將數據表列條目與默認圖表標題連接在一起我是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] );
我建議您花點時間閱讀 Help 下拉菜單下的 Discovering JMP 文檔以及 Essential Graphing 文檔,該文檔可在 Help 下拉菜單下的 JMP 文檔庫中找到