BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar
Highlighted
runeah

Community Trekker

Joined:

Jan 15, 2018

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

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
markbailey

Staff

Joined:

Jun 23, 2011

Solution

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

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:

Capture.PNG

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
Peter_Bartell

Joined:

Jun 5, 2014

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.

runeah

Community Trekker

Joined:

Jan 15, 2018

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

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.

markbailey

Staff

Joined:

Jun 23, 2011

Solution

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

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:

Capture.PNG

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!
runeah

Community Trekker

Joined:

Jan 15, 2018

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

Thank you very much! That'll do it!
Craige_Hales

Staff

Joined:

Mar 21, 2013

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

cool! I only got this far...Graph Builder.pngPart way there

Craige