cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
pedcathdoc
Level I

how to create a line graph with multiple lines at variable time points

I am very new to JMP and I have tried searching the discussion board for a solution, but cannot seem to figure this out. 

 

I have data on 23 patients with measurements of a vessel size at 4 varying times points (i.e., the intervals vary between the patients... as opposed to some constant interval for all subjects).  

 

I would like to generate a line graph showing the vessel size for each patient at the measured times (see very rudimentary sketch). 

 

I have attached my JMP data table. I specifically want to graph a line for each patient of Nakata Index 1 at Time 1, Nakata Index 2 at Time 2, Nakata Index 3 at Time 3, and Nakata Index 4 at Time 4. FYI, there are no personal identifying data in the table.

 

I hope this makes sense. And yes, I understand I am very new and likely making an amateur error but would greatly appreciate any help you can offer!

 

Thank you

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: how to create a line graph with multiple lines at variable time points

This is a fairly easy task

  1. Using     Tables=>Stack    do a Multiple Series Sack, .
    1. stacking the Time 1, Nakata Index 1, Time 2, Nakata Index 2.......etc
    2. Also keep the Patient column
  2. In the new stacked data table, 
    1. Change the name of the new column called Data to Time
    2. Change the name of the new column called Data 2 to Nakata Index
    3. Change the Patient column from a Continuous Modeling Type to Ordinal
  3. Open Graph Builder
    1. Drag the Time column to the X Drop area
    2. Drag the Nakata Index column to the Y Drop area
    3. Drag the Patient column to the Overlay drop area 

txnelson_0-1661236213835.png

 

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: how to create a line graph with multiple lines at variable time points

This is a fairly easy task

  1. Using     Tables=>Stack    do a Multiple Series Sack, .
    1. stacking the Time 1, Nakata Index 1, Time 2, Nakata Index 2.......etc
    2. Also keep the Patient column
  2. In the new stacked data table, 
    1. Change the name of the new column called Data to Time
    2. Change the name of the new column called Data 2 to Nakata Index
    3. Change the Patient column from a Continuous Modeling Type to Ordinal
  3. Open Graph Builder
    1. Drag the Time column to the X Drop area
    2. Drag the Nakata Index column to the Y Drop area
    3. Drag the Patient column to the Overlay drop area 

txnelson_0-1661236213835.png

 

Jim