Hi, I am back with another issue I am having with an example script.
Names Default To Here(1);
dt = open("$SAMPLE_DATA/Big Class.jmp"); //loads data table
include ("plotScatterPlot.jsl"); // plots a 3D scatter plot
Window ("Big Class - Scatterplot 3D of age, height")[outlinebox(1)]<< journal;
include ("distributionBySex.jsl");
Window ("Big Class - Distribution")[outlinebox(1)]<< journal;
where where plotScatterPlot.jsl and distributionBySex.jsl respectively
contain
Scatt3D = dt << Scatterplot 3D( Y( :age, :height ), X Axis( :age ), Y Axis( :height ) );
Names Default To Here (1);
Distribution(
Stack( 1 ),
Continuous Distribution(
Column( :height ),
Horizontal Layout( 1 ),
Vertical( 0 )
),
By( :sex )
)
which when run produce two chart windows called "Big Class - Scatterplot 3D of age" and "Big Class - Distribution" respectively.
Now, how to put the second chart of the distribution by sex into the journal already created above?
The line
Window ("Big Class - Distribution")[outlinebox(1)]<< journal;
only puts the top chart Distribution sex = F in the journal. I need to put the bottom chart Distribution sex = M in the existing journal. How to achieve this?
Thanks.
When it's too good to be true, it's neither