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
lala
Level VIII

How can make this diagram with JSL?

Hello!

 For example, using the big class example, The number of rows on the "age" line is similar to bubble chart ABCD column.Use different colors and values to determine bubble size based on the positive and negative values of the four columns. Just like this example.

2023-04-14_22-42-21.png

1 REPLY 1
lala
Level VIII

回复: How can make this diagram with JSL?

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
m = {"A", "B", "C", "D"};
For( i = 1, i <= N Items( m ), i++,
	New Column( m[i] )
);
Column( "A" ) << Formula( If( Mod( Row(), 5 ) == 0, height ) );
dt << run formulas;
Column( "A" ) << deleteFormula;
Column( "B" ) << Formula( If( Mod( Row(), 7 ) == 0, weight ) );
dt << run formulas;
Column( "B" ) << deleteFormula;
Column( "C" ) << Formula( If( Mod( Row(), 5 ) == 0, -height ) );
dt << run formulas;
Column( "C" ) << deleteFormula;
Column( "D" ) << Formula( If( Mod( Row(), 7 ) == 0, -weight ) );
dt << run formulas;
Column( "D" ) << deleteFormula;

2023-04-14_22-39-46.png