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 Builder composite 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

Graph Builder composite graphs

Apr 15, 2019 8:05 AM
(88 views)

In Graph Builder, I would like to create a composite graph consisting of four panes in a 2x2 arrangment. I'd like each of the panes to have a different y-axis, whereas both have the same x-scale. I can get to 2 rows x 1 column with overlays.

But when I double up the x axis, I'd like the overlay to go away, so I just have a single parameter in each pane. Instead I get this:

Is there a way to get 2 x 2 panes with just one column plotted in each pane (i.e. no overlay)?

John

2 REPLIES 2

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

Re: Graph Builder composite graphs

Here is an example using JSL.

```
Names Default to Here(1);
dt = Open("$sample_data/fitness.jmp");
gb = dt << Graph Builder(
Size( 534, 454 ),
Show Control Panel( 0 ),
Variables(
X( :Weight ),
X( :Weight ),
Y( :Oxy, Side( "Right" ) ),
Y( :Runtime, Position( 1 ) ),
Y( :RunPulse ),
Y( :RstPulse, Position( 2 ), Side( "Right" ) ),
Overlay( :Sex )
),
Elements(
Position( 1, 1 ),
Points( X, Y( 2 ), Legend( 240 ) ),
Smoother( X, Y( 2 ), Legend( 241 ) )
),
Elements(
Position( 1, 2 ),
Points( X, Y( 2 ), Legend( 246 ) ),
Smoother( X, Y( 2 ), Legend( 247 ) )
),
Elements(
Position( 2, 1 ),
Points( X, Y( 2 ), Legend( 248 ) ),
Smoother( X, Y( 2 ), Legend( 249 ) )
),
Elements(
Position( 2, 2 ),
Points( X, Y( 2 ), Legend( 254 ) ),
Smoother( X, Y( 2 ), Legend( 255 ) )
)
);
```

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

Re: Graph Builder composite graphs

Hi @john_madden ,

Extending on the JSL script provided by @gzmorgan0 with the same fitness data table.

If you right-click on the axis you get an option to move the variable to the right.

You can also move the axis back with a right-click on the right-most axis and selecting move left.

And here is a video showing the interactive steps to move the y-axis to the right.

cheers,

Stan