Hi, I'm new to JMP and have been trying to make some graphs similar to the following graphs (see picture) for hours just couldn't get it done. Basically, I conducted gluctose tolerance test on several people, so I have their blood glucose values in 0, 60, 120 and 180 minutes. What I did was to group these people into two groups, obese and non-obese. Now I want to make a graph that has two curves, one curve represents the mean values of blood glucose as trend (with error bars) in three hours in the obese group and the other shows similar results in the non-obese group. Anyone knows how to do it? Your help is greatly appreciated!
Hello,
These types of graphs are possible and it depends on how you have your data structured in the table. Can you give and example of how your data is structured?
Here is an example of how the table should look:
And then use Graph Builder from the Graph Menu. I dragged and drops the columns to the appropriate axis and condition to the overlay section. I then double clicked on the line on the legend and then selected the Obese line and changed line style to dashed. I also added error bars for the points section and selected summary statistic as Mean.
The options should look something like this:
Does that help? Am I missing any thing?
Chris
Hello,
These types of graphs are possible and it depends on how you have your data structured in the table. Can you give and example of how your data is structured?
Here is an example of how the table should look:
And then use Graph Builder from the Graph Menu. I dragged and drops the columns to the appropriate axis and condition to the overlay section. I then double clicked on the line on the legend and then selected the Obese line and changed line style to dashed. I also added error bars for the points section and selected summary statistic as Mean.
The options should look something like this:
Does that help? Am I missing any thing?
Chris
Hi Chris,
Thank you so much for your help! I successfully made the graphs! It turned out that I'd been setting up the table wrong. Two more questions though, (1) how to add asterisk to graph to indicate significance? and (2) now that I have this graph with two curves representing changes in blood glucose within three hours in two different groups, how do I proceed to calculate the area under the curve for each group?
Ruby
Hi Chris,
Sorry for taking so long to get back to you! To answer your questions:
(1) I determined the significance by doing ANOVA, so I guess adding asterisk would do the trick like you suggested.
(2) The reason that I wanted to calculate AUC was to compare between groups, just like you said. What would you advise?
I'm also creating a bar chart but I couldn't make it look like that is presented below, meaning that I couldn't make the bars having a black outline with a white filling like they did for "FCR-male".
Right click on the graph and select customize. You can then change the fill color