Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Discussions
- :
- Re: Is there a way to generate box plot with multiple y axes (left and right)? O...

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Sep 12, 2015 10:39 PM
(4864 views)

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted
Solution

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

The type of graph you show in your example is fairly easy to do in Graph Builder once you know how to add all of the elements you want. I have never had to generate a graph like this since we started using JMP here, but I used an existing data set from one of my projects to see just how such a graph could be set up and it was pretty straightforward. (Well, straightforward in as much as I have learned much more about how Graph Builder works beyond basic functionality over the past few months.)

In the example above I plotted read rate and exclusion rate statistics for multiples replicates of a study. As in your example above, I have boxplots for the read rates—the metric that our client is most interested in—and a line graph of mean exclusion rates—a metric that the survey team quickly realized could bias performance. Creating this graph required the following steps:

- Drag the Replication variable to the x-axis.
- Drag the Read Rate and Exclusion Rate variables to the y-axis as the responses.
- Select Box Plot as the graph type.
- In the Elements Properties panel for Box Plot uncheck the variable Exclusion Rate.
- Right-click on the y-axis title and select Move Right > Exclusion Rate. The exclusion rate will appear as a second y-axis on the right of the graph.
- Right-click in the plot area and select Add > Line (right) to add a line chart of the mean exclusion rates.
- Right-click in the plot area and select Add > Points (right) to add the exclusion rate data points.
- In the Elements Properties panel for Points (right) change the Summary Statistic to Mean.

That procedure was the basic setup for the graph producing a box plot for read rates and a line graph with points of the mean exclusion rates. I cleaned the graph up by balancing the y-axes so that the gridlines were in sync and there was minimum interference between the two responses. I also contrasted the read rate and exclusion rate graphs by making the boxplots and outliers blue for the read rates and, then the points and line for the mean exclusion rates red.

2 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Experiment with Graph Builder. When you have multiple Ys you can right click and send one over to the right.

Highlighted
Solution

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

The type of graph you show in your example is fairly easy to do in Graph Builder once you know how to add all of the elements you want. I have never had to generate a graph like this since we started using JMP here, but I used an existing data set from one of my projects to see just how such a graph could be set up and it was pretty straightforward. (Well, straightforward in as much as I have learned much more about how Graph Builder works beyond basic functionality over the past few months.)

In the example above I plotted read rate and exclusion rate statistics for multiples replicates of a study. As in your example above, I have boxplots for the read rates—the metric that our client is most interested in—and a line graph of mean exclusion rates—a metric that the survey team quickly realized could bias performance. Creating this graph required the following steps:

- Drag the Replication variable to the x-axis.
- Drag the Read Rate and Exclusion Rate variables to the y-axis as the responses.
- Select Box Plot as the graph type.
- In the Elements Properties panel for Box Plot uncheck the variable Exclusion Rate.
- Right-click on the y-axis title and select Move Right > Exclusion Rate. The exclusion rate will appear as a second y-axis on the right of the graph.
- Right-click in the plot area and select Add > Line (right) to add a line chart of the mean exclusion rates.
- Right-click in the plot area and select Add > Points (right) to add the exclusion rate data points.
- In the Elements Properties panel for Points (right) change the Summary Statistic to Mean.

That procedure was the basic setup for the graph producing a box plot for read rates and a line graph with points of the mean exclusion rates. I cleaned the graph up by balancing the y-axes so that the gridlines were in sync and there was minimum interference between the two responses. I also contrasted the read rate and exclusion rate graphs by making the boxplots and outliers blue for the read rates and, then the points and line for the mean exclusion rates red.