Turn on suggestions

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
- :
- How to create a scatterplot with median line (no box plot)

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

Jan 15, 2018 12:40 PM
(3335 views)

Hi!

I'm presenting the results of a small cohort (10 or less per group) for comparission. I've been trying to create a scatterplot showing only these dots and a median line in order to show a fair display of variability and data amount. Could anyone help me with tips to create this in JMP 12?

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions

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

Use **Graph** > **Graph Builder**. Put your continuous variable on **Y** and your categorical variable on **X**. Hold the **shift** key and **click** the **Bar element** icon above the canvas. Change the **Bar Style** property on the left to **Float**. Change the bar **Summary Statistic** to **Median**.

LIke this:

The lesson is that you should think of the Bar element as something to represent length, interval, or position (other than a data marker). Then use the bar properties to obtain the graphic you want.

Learn it once, use it forever!

5 REPLIES 5

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

Re: How to create a scatterplot with median line (no box plot)

If you know the median, you can add a reference line by just bringing your cursor into the neighborhood of the y-axis, left double click, and the Add Reference Line portion of the window is in the lower right corner of the window.

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

Re: How to create a scatterplot with median line (no box plot)

Jan 15, 2018 1:13 PM
(3325 views)
| Posted in reply to message from Peter_Bartell 01/15/2018 04:09 PM

Thank you for your suggestion. This would however add a line spanning both of my groups, while I only wish to show the median intrinsic to each group. Do you know whether JMP 13 offers this in graph builder?

Edit: I also realize I did not specify that I have two groups, sorry.

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

Use **Graph** > **Graph Builder**. Put your continuous variable on **Y** and your categorical variable on **X**. Hold the **shift** key and **click** the **Bar element** icon above the canvas. Change the **Bar Style** property on the left to **Float**. Change the bar **Summary Statistic** to **Median**.

LIke this:

The lesson is that you should think of the Bar element as something to represent length, interval, or position (other than a data marker). Then use the bar properties to obtain the graphic you want.

Learn it once, use it forever!

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

Re: How to create a scatterplot with median line (no box plot)

Thank you very much! That'll do it!

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

Re: How to create a scatterplot with median line (no box plot)

cool! I only got this far...

Craige