Hi,
I've never been able to get the points to overlay the boxplts correctly in JMP. Does anyone know a way to get the points to align within each boxplot?
Thanks,
Naeem
You could try adding extra column to x-axis and use that same column for color
Names Default To Here(1);
dt = open("$SAMPLE_DATA/Big Class.jmp");
gb = Graph Builder(
Variables(X(:age), X(:sex, Position(1)), Y(:height), Color(:sex)),
Elements(
Box Plot(X(1), X(2), Y, Legend(3)),
Points(X(1), X(2), Y, Legend(4))
)
);
You could try adding extra column to x-axis and use that same column for color
Names Default To Here(1);
dt = open("$SAMPLE_DATA/Big Class.jmp");
gb = Graph Builder(
Variables(X(:age), X(:sex, Position(1)), Y(:height), Color(:sex)),
Elements(
Box Plot(X(1), X(2), Y, Legend(3)),
Points(X(1), X(2), Y, Legend(4))
)
);
Choose the jittering options that suit your data. The default is usually Centered Grid, but you might want to select Random Uniform to prevent the points from aligning in rows.