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
- :
- Creating a matrix of graphs

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Highlighted

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

Sep 1, 2011 7:16 AM
(7202 views)

I have a question concerning layouts in JMP. I am running equivalence tests between difference lasers (9 unique results) to ensure that they perform the same. When I run the script, it returns a stack of about 36 different graphs in no particular order. What I would like to do is something similar to what has been done with an R script before in which graphs were laid out in a matrix where corresponding equivalence graphs between the two lasers are easily located in the grid, like so:

Header 1 | Laser 1 | Laser 2 | Laser 3 | Laser 4 | Laser 5 |
---|---|---|---|---|---|

Laser 1 | Blank | L2 v L1 Equivalency Graph | L3 v L1 Equivalency Graph | L4 v L1 Equivalency Graph | L5 v L1 Equivalency Graph |

Laser 2 | L1 v L2 Equivalency Graph | Blank | L3 v L2 Equivalency Graph | L4 v L2 Equivalency Graph | L5 v L2 Equivalency Graph |

Laser 3 | L1 v L3 Equivalency Graph | L2 v L3 Equivalency Graph | Blank | L4 v L3 Equivalency Graph | L5 v L3 Equivalency Graph |

Laser 4 | L1 v L4 Equivalency Graph | L2 v L4 Equivalency Graph | L3 v L4 Equivalency Graph | Blank | L5 v L4 Equivalency Graph |

Laser 5 | L1 v L5 Equivalency Graph | L2 v L5 Equivalency Graph | L3 v L5 Equivalency Graph | L4 v L5 Equivalency Graph | Blank |

I've tried using the layout editor to to it manually, but this method is unreliable, ineffecient, and not easily replicable through scripting. If anyone has any input on either an array graph script or means of scripting this to work, it would be much appreciate.

-Will

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

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

4 REPLIES 4

Highlighted

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

Highlighted
##

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

Creating a matrix of graphs

Thanks Dave, exactly what I was looking for!

Highlighted
##

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

Creating a matrix of graphs

Hi:

R Connection makes an easy example using the "lattice" package.

best,

-Matt

sas = SAS Connect(); // local PC SAS

SAS Submit("

libname temp 'c:/temp';

data temp.a;

array laser (5) laser1-laser5;

do x = 1 to 25;

do i = 1 to 25;

laser(i) - ranor(12345)*ranuni(x);

end;

output;

end;

drop x i;

run;

");

dt = sas << Import Data("temp.a");

SAS Disconnect();

Rcon = R Connect();

Rcon << send(dt);

Rcon << Submit("

library(lattice);

splom(dt[c(1,2,3,4,5)], main='Laser Data')

");

plot = RConnection << Get Graphics( png );

New Window ("Laser Plot", Picture Box( plot ) );

Rcon << Disconnect();

Highlighted
##

We actually have a sript similar to this set up with R that we currently use but we're trying to switch over a lot of our analyses into JMP to make things more accessible to the rest of our associates, but thanks!

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

Creating a matrix of graphs

Article Labels

There are no labels assigned to this post.