Hello,
I have 50 people and each people have 5 values corresponding to 5 time points. I am trying to create a graph looks like this in JMP, showing everyone's 5 values on this graph:
But instead, this is what I got in JMP:
Is there any way I can connect the 5 values for each person and show this on the graph? Thank you!
If you are using GraphBuilder:
Here is the JMP sample data SAT by Year.jmp with SAT Math for Y, Year (note ordinal) for X and State as the Overlay
If you are using Fit Y by X:
If you are using GraphBuilder:
Here is the JMP sample data SAT by Year.jmp with SAT Math for Y, Year (note ordinal) for X and State as the Overlay
If you are using Fit Y by X:
Thanks!
However when I tried your method using the Graph Builder, this is what I achieved before changing Smoother to line:
And here is after:
I am stilling getting only 2 lines (one for women and the other for men), instead of 50 lines. Do you know where could I have done incorrectly?
Overlay by the ID column, not the gender column.
Just a follow-up question: I am trying to separate women from men on this graph (which we intend to make only black and white) by assigning solid lines to women and dash lines to men. But apparently the "Color" on Graph Builder wouldn't let me do so, it only changes color.
I do not know of a single simple point and click method. But here are two options:
Brute Force:
JSL script:
Names Default to Here(1);
dt = Open("$sample_data/SATByYear.jmp");
gbb = dt << Graph Builder(
Size( 514, 484 ),
Show Control Panel( 0 ),
Variables( X( :Year ), Y( :SAT Math ), Overlay( :State ) ),
Elements( Line( X, Y, Legend( 10 ) ) )
);
regSum = dt << summary( Group(:State, :Region));
_idx = regSum << get rows where(:Region == "Midwest");
//get a handle to all all line segments
_xls = gbb << Xpath("//LineSeg");
_xls[_idx] << LineStyle("Dotted");
I realize this script is using JSL and more advanced methods.
Maybe someone has a simpler point and click method other than Brute Force.
Good luck