Hi,
I am working on color/mark by, under row states. I was able to observe that there is a way to create custom color themes, but not for markers. Is there a way to do that?
Thank you.
Hi @Kenobi
See Change Row marker shape through JSL toward the bottom of the discussion for an example by @gzmorgan0 that might move you forward with your goal of creating custom markers.
cheers,
Stan
Names Default To Here( 1 ); Markers_dt = New Table( "Marker Codes", Add Rows( 301 ), New Column( "Marker Number", Numeric ) ); Markers_dt:Marker Number << Set Each Value( Row() - 1 ); For( i = 1, i <= N Row( Markers_dt ), i++, Marker Of( Row State( i ) ) = i - 1;// Markers_dt:Marker Number[i] ); Wait( 2 ); Row State( 4 ) = Combine States( Selected State( 1 ), Hidden State( 1 ), Color State( "Dark Blue Green" ), Marker State( Hex To Number( "221E" ) ) //Hex for unicode infinity ); Markers_dt:Marker Number[4] = Hex To Number( "221E" ); Marker Of( Row State( 5 ) ) = Hex To Number( "2606" ); //Hex for star Markers_dt:Marker Number[5] = Hex To Number( "2606" );
Hello @Kenobi ,
Is this what you're looking for?
Names default to here(1); dt = Open( "$SAMPLE_DATA/Big Class.jmp" ); r = dt << Select Where( :sex == "M" ); r << Markers( "+" ); r << Colors( "Red" );
Thank you for your reply, but that is not what I am looking for. I am trying to assign row states based on particular column, so was wondering if it would be possible to create custom marker theme that I could just import. For instance,
dt << Color or Mark by Column( Label, Marker Theme( "solid" ), Color Theme( "JMP Dark" ) );
instead of solid, I would like to create my own theme which would have a list of markers. Hope this gives some more clarity
I think you might be limited to the pre-defined options , custom text markers or using images as markers. Depending on what type of markers you would like to use, you might be able to create an script/addin/shortcut/toolbar and use that to set for example text markers (or image markers if you were to create new column always).
Thank you very much. This works like a charm.