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; //sends the 3D scatterplot window to a journal<BR />include ("distributionBySex.jsl");<BR />Window ("Big Class - Distribution")[outlinebox(1)]<< journal;where where plotScatterPlot<SPAN class="token punctuation">.</SPAN>jsl and <CODE class=" language-jsl">distributionBySex.jsl respectively contain
Scatt3D = dt << Scatterplot 3D( Y( :age, :height ), X Axis( :age ), Y Axis( :height ) );
and
Window ("Big Class - Distribution")[outlinebox(1)]<< journal;Names Default To Here (1);
Distribution(
Stack( 1 ),
Continuous Distribution(
Column( :height ),
Horizontal Layout( 1 ),
Vertical( 0 )
),
By( :sex )
)
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;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.