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 put repeated measurements of SEVERAL GROUPS on the SAME 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

Aug 6, 2011 7:03 AM
(996 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

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

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** **)**

**)**;