cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
hogi
Level XIII

Graph builder - Summary Statistics for multiple X values

Hi,

 

Seems that Summary Statistics in Graph builder are just available for one value on the X axis?!

hogi_2-1730980311645.png

 

is there a trick to get the red data points for hogi_0-1730980136408.png displayed as well?

 

hogi_1-1730980237141.png

 

Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Column( "one",
	Formula( 1 )
);

Graph Builder(
	Graph Spacing( 4 ),
	Variables(
		X( :height ),
		X( :weight, Position( 1 ) ),
		Y( :one ),
		Y( :sex )
	),
	Elements(
		Position( 1, 1 ),
		Points( X( 1 ), X( 2 ), Y,  Summary Statistic( "N" ) ),
		Bar( X( 1 ), X( 2 ), Y,  Bar Style( "Stacked" ), Summary Statistic( "N" ) )
	),
	Elements( Position( 1, 2 ), Points( X( 1 ), X( 2 ), Y ) )
);
	
1 ACCEPTED SOLUTION

Accepted Solutions
hogi
Level XIII

Re: Graph builder - Summary Statistics for multiple X values

Ah, one can add an additional element, selectively for the second column on the X axis:

hogi_1-1730980851345.png

Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Column( "one",
	Formula( 1 )
);

Graph Builder(
	Variables(
		X( :height ),
		X( :weight, Position( 1 ) ),
		Y( :one ),
		Y( :sex )
	),
	Elements(
		Position( 1, 1 ),
		Points( X( 1 ), Y,  Summary Statistic( "N" ) ),
		Points( X( 2 ), Y,  Summary Statistic( "N" ) )
	),
	Elements( Position( 1, 2 ), Points( X( 1 ), X( 2 ), Y ) )
);

View solution in original post

2 REPLIES 2
hogi
Level XIII

Re: Graph builder - Summary Statistics for multiple X values

Ah, one can add an additional element, selectively for the second column on the X axis:

hogi_1-1730980851345.png

Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Column( "one",
	Formula( 1 )
);

Graph Builder(
	Variables(
		X( :height ),
		X( :weight, Position( 1 ) ),
		Y( :one ),
		Y( :sex )
	),
	Elements(
		Position( 1, 1 ),
		Points( X( 1 ), Y,  Summary Statistic( "N" ) ),
		Points( X( 2 ), Y,  Summary Statistic( "N" ) )
	),
	Elements( Position( 1, 2 ), Points( X( 1 ), X( 2 ), Y ) )
);
hogi
Level XIII

Re: Graph builder - Summary Statistics for multiple X values

... but strange why it's necessary !?

Recommended Articles