Showing results for

- JMP User Community
- :
- Discussions
- :
- How to put repeated measurements of SEVERAL GROUPS...

- 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

Aug 6, 2011 7:03 AM
(273 views)

I measure the Y value of the three groups.

The measurements were repeated three times (in different conditions).

I want to bring them on ONE plot!

Using "Fit Y by X" we get three (the number of repeated measurements) columns on the graph, and 5 groups points will be mixed (in each measurement).

I would like them (groups) to were located next to each other (using the auto legend to color/mark not enough, because the groups point are mixed and overlapped (in each measurement)).

This is easily done by OVERLAY PLOT, but there will have to encode 1,2,3, ... 15 on the X-axis in a complate graph (and this sequence can not be edited in performe graph in JMP, unfortunately), but I need 1,2,3,4,5, 1,2,3,4, 5, 1,2,3, 4, 5 on the x-axis.

Thank you in advance.

2 REPLIES

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

Aug 8, 2011 5:26 AM
(245 views)

I'm having trouble understanding what your data looks like. Can you post some sample data?

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

Aug 8, 2011 5:40 AM
(245 views)

You can do it with Graph Builder (JMP8 or 9) or Variability Chart. See script example below

// make sample table

dt=New Table**(** "Several groups on same plot",

Add Rows**(** **15** **)**,

New Column**(** "Repeat",

Numeric,

Nominal,

Format**(** "Best", **12** **)**,

Set Values**(** **[****1**, **1**, **1**, **1**, **1**, **2**, **2**, **2**, **2**, **2**, **3**, **3**, **3**, **3**, **3****]** **)**

**)**,

New Column**(** "Item",

Numeric,

Nominal,

Format**(** "Best", **12** **)**,

Set Values**(** **[****1**, **2**, **3**, **4**, **5**, **1**, **2**, **3**, **4**, **5**, **1**, **2**, **3**, **4**, **5****]** **)**

**)**,

New Column**(** "Data",

Numeric,

Continuous,

Format**(** "Best", **12** **)**,

Set Values**(** **[****15**, **13**, **1**, **12**, **2**, **4**, **14**, **14**, **9**, **2**, **4**, **1**, **7**, **2**, **14****]** **)**

**)**

**)**;

// Graph builder

dt<<Graph Builder**(**

Variables**(** X**(** :Item **)**, Y**(** :Data **)**, Group X**(** :Repeat **)** **)**,

Elements**(** Points**(** X, Y, Legend**(** **1** **)** **)** **)**

**)**;

//Variability chart

Variability Chart**(**

Y**(** :Data **)**,

X**(** :Repeat, :Item **)**,

Std Dev Chart**(** **0** **)**

**)**;