BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar
BHarris
Contributor

JSL equivalent for "select matching cells"

Is there a JSL equivalent for "select matching cells" in a given column?

 

For example, I have many simulation runs represented in a single table.  Sometimes I see a rogue data point in Graph Builder, and I want to see all the other points from that run, which is all points with the same "run id".  Is there a way in JSL to select those points, then expand the selection to all rows with the same value in the "run id" column as the points I selected?

0 Kudos
4 REPLIES 4
GM
GM
Community Trekker

Re: JSL equivalent for "select matching cells"

Hello,

You will find JSL examples by searching the Scripting Index with "Select Where".  The examples in the Scripting Index should get you started.  You will need to be able to specify the criteria you are using to identify the rouge data points in graph builder.  Hope this is helpful.

gianpaolo
Community Trekker

Re: JSL equivalent for "select matching cells"

in JMP --> HELP--> SCRIPTING INDEX  you can find examples..here the ones for 'select where'. hope can help you

 

 

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Select Where( :Age < 14 );

 

Gianpaolo Polsinelli
0 Kudos
BHarris
Contributor

Re: JSL equivalent for "select matching cells"

I didn't realize when I wrote this that JMP supports setting keyboard shortcuts for menu items.  I set ctrl-shift-m to activate the "select matching cells", and it works perfectly for what I needed.

 

I assume the responses below would be correct for the original question.

GM
GM
Community Trekker

Re: JSL equivalent for "select matching cells"

Nice one, that's a cool solution.

Sincerely,

MG