- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
回复: 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;