将数据表列条目与默认图表标题连接在一起我是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文档库”中找到。