cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
Kenobi
Level III

Is it possible to create a custom marker theme?

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.

1 ACCEPTED SOLUTION

Accepted Solutions
stan_koprowski
Community Manager Community Manager

Re: Is it possible to create a custom marker theme?

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" );

View solution in original post

5 REPLIES 5
StarfruitBob
Level VI

Re: Is it possible to create a custom marker theme?

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" );
Learning every day!
Kenobi
Level III

Re: Is it possible to create a custom marker theme?

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

jthi
Super User

Re: Is it possible to create a custom marker theme?

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).

-Jarmo
stan_koprowski
Community Manager Community Manager

Re: Is it possible to create a custom marker theme?

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" );
Kenobi
Level III

Re: Is it possible to create a custom marker theme?

Thank you very much. This works like a charm.