cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
peck
New Member

line connecting through points of different groups only allowing me to plot the mean (or some other statistic) of variables

I am having trouble connecting a line through points of different groups. I have my data coloured according to the depth interval each sample was taken at. Previously (about a year ago) I would just right click on the graph, go to 'add' then 'line' and would achieve the result I wanted, but I have since updated JMP and it is no longer working this way. I am only able to plot the mean, min, median, or some other 'summary statistic' for my data, but not connect the points per group (result is the first image below). 

I have read a few other discussions with a similar problem and there was a box that could be checked under the line's settings called 'row order' that should solve this issue, but I don't see this box (second image below). 

peck_1-1778675431314.png

 

peck_0-1778675373293.png

Thank you to anyone who can help!

1 ACCEPTED SOLUTION

Accepted Solutions

Re: line connecting through points of different groups only allowing me to plot the mean (or some other statistic) of variables

You might want to try to stack all your columns you used in the "X" role in your Graph Builder by using the Stack platform in the tables menu. After that is done, specify the new stacked column as "X" and use your Depth column in the overlay role. This should give you the plot you are after:

Jonas_Rinne_0-1778678974490.png

 

Open( "$SAMPLE_DATA/Tablet Production.jmp" );

Graph Builder(
	Size( 1102, 793 ),
	Variables( X( :Coating Supplier ), Y( :Mill Time ), Overlay( :Blend Time ) ),
	Elements( Points( X, Y, Legend( 6 ) ), Line( X, Y, Legend( 7 ) ) )
);

 

View solution in original post

2 REPLIES 2

Re: line connecting through points of different groups only allowing me to plot the mean (or some other statistic) of variables

You might want to try to stack all your columns you used in the "X" role in your Graph Builder by using the Stack platform in the tables menu. After that is done, specify the new stacked column as "X" and use your Depth column in the overlay role. This should give you the plot you are after:

Jonas_Rinne_0-1778678974490.png

 

Open( "$SAMPLE_DATA/Tablet Production.jmp" );

Graph Builder(
	Size( 1102, 793 ),
	Variables( X( :Coating Supplier ), Y( :Mill Time ), Overlay( :Blend Time ) ),
	Elements( Points( X, Y, Legend( 6 ) ), Line( X, Y, Legend( 7 ) ) )
);

 

peck
New Member

Re: line connecting through points of different groups only allowing me to plot the mean (or some other statistic) of variables

Thank you, the stacking worked great. 

peck_0-1778681773498.png

 

Recommended Articles