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
- :
- List Boxes; customizing # of plots per row

- 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
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

List Boxes; customizing # of plots per row

May 25, 2017 8:56 AM
(3346 views)

Hello,

When using the following script, the window will produce a single column of plots.

pltx=dtnm<<**(Bivariate(**

Y**(** :Name**(** "|id|" **)**,:Name**(** "|ib|" **)**, :Name**(** "|ig|" **))**,

X**(** :vg **)**,

By**(** :device, :tdegc, :wid, :len, :str, :vd, :vb **)))**;

I am interested in knowing of methods to produce a window that has the three dependent variables in side by side fashion for the given 'By' variables, and with the next row in the window will be same three graphs for the next combination of the 'By' variables.

I can envision using a loop to do this, but I am wondering if there is or are other options.

Thanks,

John

4 REPLIES 4

Highlighted
##

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

Re: List Boxes; customizing # of plots per row

Wrap it in a Line Up Box( N Col( n ), Bivariate( ... ) );

Learn it once, use it forever!

Highlighted
##

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

Re: List Boxes; customizing # of plots per row

For example, would this work?

dtnm=datatable**(**"trans.nm.25"**)**;

dtnm<<**Line Up Box****(**N Col **(****3)**, **(**Bivariate**(**

Y**(** :Name**(** "|id|" **)**,:Name**(** "|ib|" **)**, :Name**(** "|ig|" **))**,

X**(** :vg **)**,

By**(** :device, :tdegc, :wid, :len, :str, :vd, :vb **))))**;

Highlighted
##

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

Re: List Boxes; customizing # of plots per row

Created:
May 25, 2017 12:25 PM
| Last Modified: May 25, 2017 12:28 PM
(3325 views)
| Posted in reply to message from johnm 05-25-2017

Sorry I was not clear about the details. You create a new window that includes the report of interest, Bivariate in this case. You enclose the Bivariate report in a Line Up Box that will organize the separate reports for each level of the By variable.

This example should clarify this approach:

```
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "Bivariate",
Line Up Box( N Col( 2 ),
dt << Bivariate(
Y( :weight ),
X( :height ),
Fit Line,
By( :age )
)
```

)
);

Learn it once, use it forever!

Highlighted
##

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

Re: List Boxes; customizing # of plots per row

Hi Mark,

Very helpful. Thanks. I can now more easily view the three plots and navigate in just one window.

But I would like to have the three dependent variables in a single row rather than in a single column of three graphs. In other words the three plots cirlced in blue in the first row, the three plots circled in red in the second row, and so on. So each 'By' condition has a row with the three plots.

John

Article Labels

There are no labels assigned to this post.