Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
rossjason
Level II

Excluded Row not working in Marker By Column script

I'm trying to color and mark by a column using jsl script. The plan is to have different buttons in a window, each would mark the data in a graph builder by different columns by running the below script. The issue is, my data is usually filtered before this and for some reason the Excluded Rows (1) included in the Marker By Column command doesn't seem to be doing anything to mark the excluded rows. In contrast, if I run the Rows > Color or Mark by Column... tool and essentialy do the same thing and check Excluded Rows, that one works. So what's wrong with the jsl script verses the dropdown tool?

 

dt = Current Data Table();
dt << Marker By Column(
:metro_tool,
Marker( 1 ),
Color theme( "JMP Dark" ),
Marker Theme( "standard" ),
Excluded Row( 1 ),
Make Window With Legend
);
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
txnelson
Super User

Re: Excluded Row not working in Marker By Column script

Oops....my bad.....I copied the wrong code....the issue is

    Excluded Rows( 1 )

not

    Excluded Row( 1 )

dt=current data table();
dt << color or Mark by Column( :age,Marker(1) ,
Color theme( "JMP Dark" ),
Marker Theme( "standard" ),
Excluded Rows( 1 ),
Make Window With Legend
);
Jim

View solution in original post

4 REPLIES 4
txnelson
Super User

Re: Excluded Row not working in Marker By Column script

I believe the function you want to use is

     Color or Mark by Column()

dt << color or Mark by Column( :Metro_tool,Marker(1) ,
Color theme( "JMP Dark" ),
Marker Theme( "standard" ),
Excluded Row( 1 ),
Make Window With Legend
);
Jim
Highlighted
rossjason
Level II

Re: Excluded Row not working in Marker By Column script

It's doing the same thing, same problem. Excluded Rows only works if you use the tool dialog box

Highlighted
txnelson
Super User

Re: Excluded Row not working in Marker By Column script

Oops....my bad.....I copied the wrong code....the issue is

    Excluded Rows( 1 )

not

    Excluded Row( 1 )

dt=current data table();
dt << color or Mark by Column( :age,Marker(1) ,
Color theme( "JMP Dark" ),
Marker Theme( "standard" ),
Excluded Rows( 1 ),
Make Window With Legend
);
Jim

View solution in original post

Highlighted
rossjason
Level II

Re: Excluded Row not working in Marker By Column script

Ok yeah it was a typo, thanks!

Article Labels

    There are no labels assigned to this post.