Discussions
Categories
Groups
Help
Home
User Community
Discussions
Combination Line Chart and Bar Chart?
pmroz
Is there a way in JMP to create a graph that combines a line chart with a bar chart? I was not able to create one using regular menus.
This is pretty easy to do in Excel, btw.
Thanks,
Peter
Accepted answers
unknown
You can show multiple Y's on the chart, but I don't think you can show different types of graphs for different Y's. If you have JMP 8, you can use the graph builder. Using membrane, drag Brand to the X, then pull Count 1 to the bottom of the y axis and Count 2 to the top of the y axis. Right mouse click over each of these graphs and on 1 of them select points>change to > bar and on the other 1 select points>change to> line.
All comments
afterword
Sure is - use the Chart platform, and assign your columns to the X and Y axes. The chart will default to bars, but you can right click on the individual Y fields in the legend and choose from bar, line, needle, and point in any combination you choose.
pmroz
Tried that but it didn't work. I used the Membrane dataset (Help > Sample Data Directory > Analysis of Variance > Membrane).
I chose Graph > Chart, and then selected Brand for (Categories, X, Levels), and Count1 and Count2 as Y variables (Statistics > Data).
Even though Bar Chart was selected I got a line chart. If I right clicked on a Y field in the legend and selected Bar Chart nothing happened.
I tried this with other data and got similar results.
ms
The bar chart option does not support data with multiple Ys for any X. Try Statistics > Mean with this data set and it works as the second poster describes.
unknown
You can show multiple Y's on the chart, but I don't think you can show different types of graphs for different Y's. If you have JMP 8, you can use the graph builder. Using membrane, drag Brand to the X, then pull Count 1 to the bottom of the y axis and Count 2 to the top of the y axis. Right mouse click over each of these graphs and on 1 of them select points>change to > bar and on the other 1 select points>change to> line.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of