For example, generate the following 3D graph in Big Class.jmp. How do you make each point display its own age label?
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Sort( By( age ), Order( Ascending ), replace table );
ca = "nn";
New Column( ca );
Column( ca ) << Formula(
If( Row() == 1 | age != Lag( age, 1 ),
r = Row();
1;
,
Row() - r + 1
)
);
dt << run formulas;
Column( ca ) << deleteFormula;
p1 = dt << Scatterplot 3D(
Y( :height, :weight, :nn ),
Weight( :age ),
Coloring( :sex ),
Sized Points( 1 ),
Legend( 9 ),
Frame3D(
Set Graph Size( 1066, 741 ),
Legend( 1 ),
Set Grab Handles( 0 ),
Set Rotation( 5.79529088089731, 66.3611426483183, -5.39187559662059 ),
Set Marker Quality( 1 )
)
);
Thanks!
![2024-02-27_16-07-05.png 2024-02-27_16-07-05.png](https://community.jmp.com/t5/image/serverpage/image-id/61586i1CA0DB4348F72406/image-size/large?v=v2&px=999)