Choose Language Hide Translation Bar

Community Trekker

Joined:

Oct 8, 2015

How to Merge Multiple Charts into One Window

When I run this script, the charts will come out with separate window. How can I modify the code to make it merge to one window with both charts?

Your helps is appreciated!

Merge both chart in one window.

1 ACCEPTED SOLUTION

Accepted Solutions

Joined:

Nov 21, 2014

Solution

Re: How to Merge Multiple Charts into One Window

A simple method would be to use New Window().  Put both variability charts into the argument and it should combine them into a single window:

``````New Window("My Report",
Variability Chart(...);
Variability Chart(...);
);``````

A example using JMP sample data is below.

Best,

M

----------------------------------------

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

New Window( "My Report",
Variability Chart(
Y( :weight ),
X( :age ),
Max Iter( 100 ),
Conv Limit( 0.00000001 ),
Number Integration Abscissas( 128 ),
Number Function Evals( 65536 ),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Std Dev Chart( 1 )
);
Variability Chart(
Y( :height ),
X( :age ),
Max Iter( 100 ),
Conv Limit( 0.00000001 ),
Number Integration Abscissas( 128 ),
Number Function Evals( 65536 ),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Std Dev Chart( 1 )
);

);``````

5 REPLIES 5

Community Trekker

Joined:

Dec 19, 2012

Re: How to Merge Multiple Charts into One Window

One way is to encapsulate both platform function calls within a display box object that can hold both, for example V List Box. See below for an example.

``````New Window( "Test",
V List Box(
Variability Chart(
Y(:height),
X(:age)
),
Variability Chart(
Y(:height),
X(:sex)
),
);
);``````

Joined:

Nov 21, 2014

Solution

Re: How to Merge Multiple Charts into One Window

A simple method would be to use New Window().  Put both variability charts into the argument and it should combine them into a single window:

``````New Window("My Report",
Variability Chart(...);
Variability Chart(...);
);``````

A example using JMP sample data is below.

Best,

M

----------------------------------------

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

New Window( "My Report",
Variability Chart(
Y( :weight ),
X( :age ),
Max Iter( 100 ),
Conv Limit( 0.00000001 ),
Number Integration Abscissas( 128 ),
Number Function Evals( 65536 ),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Std Dev Chart( 1 )
);
Variability Chart(
Y( :height ),
X( :age ),
Max Iter( 100 ),
Conv Limit( 0.00000001 ),
Number Integration Abscissas( 128 ),
Number Function Evals( 65536 ),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Std Dev Chart( 1 )
);

);``````

Community Trekker

Joined:

Oct 8, 2015

Re: How to Merge Multiple Charts into One Window

Its work! Thanks!

Super User

Joined:

Jun 23, 2011

Re: How to Merge Multiple Charts into One Window

Variability chart supports multiple Y that appears to be treated independently. The below command yields an identical output as the New Window approach (except for the window title):

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

dt << Variability Chart(Y(:weight, :height), X(:age));``````

Community Trekker

Joined:

Oct 8, 2015

Re: How to Merge Multiple Charts into One Window

Thank all for the prompt response ! I will try it when i get back to my workdesk.