If a user applies a data filter to exclude rows, the Graph Builder Plot restricts the axes (and Group X/Y areas) accordingly.
... 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?
workaround (for the case with the global data filter):
generate a subset and plot from there.
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( "" ) ) )
)
)
)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).
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).
cool, thanks @jthi !
works for global and local data filter.
"" - good that the function forgets do to this.
So it can be used as a workaround till the issue is fixed :)
I sent Jmp support a link to this post: TS-00044559
Will be fixed in JMP19.