- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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 )
);
);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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)
),
);
);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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 )
);
);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How to Merge Multiple Charts into One Window
Its work! Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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));
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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.