edit:
Below code does what I want, it's not very pretty compared to JMP16 but I guess it works.
dt = open ("$SAMPLE_DATA\reliability\blenders.jmp");
New Column( "By",
Character,
"Nominal",
Set Selected,
Set Values(
{"A", "A", "A", "A", "A", "A", "A", "A", "A", "A", "A", "A", "A", "A",
"A", "A", "A", "B", "B", "B", "B", "B", "B", "B", "B", "B", "B", "B",
"B", "B", "B", "B", "B", "B", "B", "B", "A", "A", "A", "A", "A", "A",
"A", "A", "A", "A", "A", "A", "A", "A", "A", "A", "A", "A", "A", "A",
"A", "A", "A", "A", "A", "A", "B", "B", "B", "B", "B", "B", "B", "B",
"B", "B", "B", "B", "B", "B", "B", "B", "B", "B", "B", "B", "B", "B",
"B", "B", "B", "B", "B", "B"}
)
);
ld = dt << Life Distribution(
Perspective( Compare Groups ),
Y( :Time Cycles ),
Grouping( :Group ),
Confidence Interval Method( Wald ),
Select Distribution( Distribution, Weibull ),
Select Scale( Weibull ),
Tabbed Report( 0 ),
By("By")
);
Summarize( uniqueGroups = by( "Group" ) );
numGroups = N Items( uniqueGroups );
Summarize( uniqueBy = by( "By" ) );
numPlatforms = N Items( uniqueBy );
For( i = 1, i < numPlatforms + 1, i++,
For( j = 1, j < numPlatforms + 1, j++,
ld[i] << SendToReport(Dispatch(
"Compare Distribution",
"11111",
ScaleBox,
{Legend Model(
11111,
Properties(
0,
{Line Color( 6 ), Line Style( "Dashed" ), Line Width( 6 )}, // <-- Change line properties
Item ID( Eval( "Group=" || uniqueGroups[j] ), 1 )
)
);
};
);
);
);
);