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
- :
- Graph Bulder: Create Multiple Horzontal AND Vertical Graphs

Topic Options

- Start Article
- 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

Apr 27, 2015 9:25 AM
(5560 views)

Using JSL I routinely create multiple horizontal and vertical Overlay Plots using the H List Box() and V List Box() commands. I can see in Graph Builder how to create multiple horizontal line plots but can't seem to figure out how, and if, I can create both multiple horizontal and vertical line plots. Can this be done in GB?

1 ACCEPTED SOLUTION

Accepted Solutions

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

Thanks MS for the tip,

Unfortunately, I need the individual axes to be independent. I can certainly get them that way by using the H List Box command. I was just hoping for a more elegant solution using the direct GB interface.

4 REPLIES 4

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

Re: Graph Bulder: Create Multiple Horzontal AND Vertical Graphs

The Group X, Group Y or the Wrap roles can be used arrange multiple line plots vertically or horizontally. However, the different plots are not independent; they share axis settings among other.

Example:

dt = Open**(**"$SAMPLE_DATA/Big Class.jmp"**)**;

dt << **Graph Builder****(**

Show Control Panel**(****0****)**,

Variables**(**X**(**:height**)**, Y**(**:weight**)**, Wrap**(**:age**))**,

Elements**(**Line**(**X, Y, Legend**(****5****)))**

**)**;

//

For the the wrap role, the layout can be customized by right-clicking on the wrap variable and set e.g. "levels per row".

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

Thanks MS for the tip,

Unfortunately, I need the individual axes to be independent. I can certainly get them that way by using the H List Box command. I was just hoping for a more elegant solution using the direct GB interface.

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

Re: Graph Bulder: Create Multiple Horzontal AND Vertical Graphs

It's a *feature* of small multiples that the axes are aligned for comparison. In cases like these where you want a grid of independent graphs, you'll still need the HList/VList of Graph Builders (turning off the legend) though LineupBox is probably better in either case.

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

Re: Graph Bulder: Create Multiple Horzontal AND Vertical Graphs

Xan,

I hadn't heard of the Lineup Box instruction before so I'll take a peek and see how that might be useful. Thanks for your comment.