发布日期: 09/18/2023

Tabulate Messages

obj<<Display Column Width(<Data Column(Column Table(n),<column name path>), Row Label(Row Table(n), <column name path>)>, <width>)

Returns or sets the display pixel width of a column in a Tabulate table.

Required Argument

Row Label

Use Row Table and heading for columns in the row labels area.

Optional Arguments

Data Column

Use Column Table and column references to define columns in the main body of the table.

column name path

Specifies the Column Table or Row Table (both quoted), and the series of column headings that traces the path of the column. Note: Column Table or Row Table can be omitted if the table referenced is the first table.

width

Specifies the pixel width of the column.

Examples

dt = Open( "$SAMPLE_DATA/Car Poll.jmp" );
obj = dt << Tabulate(
	Add Table(
		Column Table(
			Grouping Columns( :sex, :marital status ),
			Analysis Columns( :age ),
			Statistics( Sum, "% of Total" )
		),
		Row Table( Grouping Columns( :type ) ),
		Row Table( Grouping Columns( :country, :size ) )
	)
);
Wait( 3 ); // for demonstration purposes
obj << Display Column Width( Row Label( Row Table( 2 ), "country" ), 150 );
Wait( 3 ); // for demonstration purposes
obj << Display Column Width(
	Data Column(
		Column Table( 1 ),
		"sex",
		"Female",
		"marital status",
		"Married",
		"age",
		"Sum"
	),
	150
);
需要更多信息?有问题?从 JMP 用户社区得到解答 (community.jmp.com).