cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
hogi
Level XI

Graph Builder: adjust the axes to the filtered data

If a user applies a data filter to exclude rows, the Graph Builder Plot restricts the axes (and Group X/Y areas) accordingly.

Graph_Datafilter_.png                      Graph_Datafilter.png

 

... but not always:
For columns with modeling type multiple response, Jmp (17.1) displays all existing values on the axis (and Group X/Y areas)
- even if the data is restricted by a global data filter and a local data filter.

 

Is there a setting to change this behavior?

hogi_1-1687518152580.png

workaround (for the case with the global data filter):
generate a subset and plot from there.

View more...
dt = Open( "$SAMPLE_DATA/Big Class Families.jmp" );
dt << Data Filter(
	Location( {88, 88} ),
	Mode( Select( 0 ), Include( 1 ) ),
	Add Filter(
		columns( :sports ),
		Match Any( Where( :sports == "Baseball" ) ),
		Display( :sports, Find( Set Text( "" ) ) )
	)
);
dt << Graph Builder(
	Size( 353, 453 ),
	Show Control Panel( 0 ),
	Summary Statistic( "Median" ),
	Variables( X( :name ), Y( :sports ) ),
	Elements( Points( X, Y, Legend( 4 ) ) ),
	Local Data Filter(
		Add Filter(
			columns( :sports ),
			Match Any( Where( :sports == "Baseball" ) ),
			Display( :sports, Find( Set Text( "" ) ) )
		)
	)
)
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Graph Builder: adjust the axes to the filtered data

Seems to be somehow bugged or working inversed with multiple response columns. You could enable Show Excluded Rows (hold shift while pressing red triangle to access Show Excluded Rows).

jthi_0-1687519262977.png

jthi_1-1687519331794.png

 

-Jarmo

View solution in original post

3 REPLIES 3
jthi
Super User

Re: Graph Builder: adjust the axes to the filtered data

Seems to be somehow bugged or working inversed with multiple response columns. You could enable Show Excluded Rows (hold shift while pressing red triangle to access Show Excluded Rows).

jthi_0-1687519262977.png

jthi_1-1687519331794.png

 

-Jarmo
hogi
Level XI

Re: Graph Builder: adjust the axes to the filtered data

cool, thanks @jthi !
works for global and local data filter.

 

"hogi_1-1687520560427.png" - good that the function forgets do to this.
So it can be used as a workaround till the issue is fixed

 

 

hogi
Level XI

Re: Graph Builder: adjust the axes to the filtered data

I sent Jmp support a link to this post: TS-00044559