- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Script for Journal
Hello
I have written a simple script as well:
1) to open the file "Big Class Data"
2) to create a Distribution and Variability Chart graphics
3) to save all graphics in Journal
4) close the table "Big Class Data"
dt = Open("C:\Users\dburmist\Downloads\JSL Files and Exercises\Ex 6 - Big Class Data.jmp");
// Distribution for big class
distribution_obj = Distribution(
Continuous Distribution(Column(:height), Horizontal Layout(1), Vertical(0), ),
);
distribution_obj << Journal();
distribution_obj << Close Window();
// Variability for big class
variability_obj = Variability Chart(
Y(:height),
X(:sex),
Analysis Type("Choose best analysis (EMS REML Bayesian)"),
Std Dev Chart(0),
Points Jittered(1)
);
variability_obj << Journal();
variability_obj << Close Window();
Close(dt, nosave);
At the end, I received Journal with links only without graphics of Distribution and Variability Chart.
How I can receive Journal with picture of graphics?
Thank you
Dennis
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Script for Journal
What you need to do, is to just save the report from the Distribution and the Variability Platforms, not the executable. Try the code below
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
// Distribution for big class
distribution_obj = Distribution(
Continuous Distribution( Column( :height ), Horizontal Layout( 1 ), Vertical( 0 ), ),
);
distribution_obj << report << Journal();
distribution_obj << Close Window();
// Variability for big class
variability_obj = Variability Chart(
Y( :height ),
X( :sex ),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Std Dev Chart( 0 ),
Points Jittered( 1 )
);
variability_obj << report << Journal();
variability_obj << Close Window();
Close( dt, nosave );
Jim
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Script for Journal
What you need to do, is to just save the report from the Distribution and the Variability Platforms, not the executable. Try the code below
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
// Distribution for big class
distribution_obj = Distribution(
Continuous Distribution( Column( :height ), Horizontal Layout( 1 ), Vertical( 0 ), ),
);
distribution_obj << report << Journal();
distribution_obj << Close Window();
// Variability for big class
variability_obj = Variability Chart(
Y( :height ),
X( :sex ),
Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
Std Dev Chart( 0 ),
Points Jittered( 1 )
);
variability_obj << report << Journal();
variability_obj << Close Window();
Close( dt, nosave );
Jim