cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Dennisbur
Level IV

Journal in 2 or 3 columns

Hello guys,

I calculated 2 tables HOT_per_skew and COLD_per_skew

when I added these 2 tables to the Journal, I got the vertical position.

My question is, how can I present these 2 tables in a Horizontal position by JSL script?

HOT_per_skew << Journal ( ) << Close Window ( );
COLD_per_skew<< Journal ( ) << Close Window ( );

 

Dennisbur_0-1712151773145.png

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
jthi
Super User

Re: Journal in 2 or 3 columns

I think you can just wrap them in H List Box (Or Lineup Box(N Col(2))

Names Default To Here(1); 

dt1 = open("$SAMPLE_DATA/Big Class.jmp");
dt2 = open("$SAMPLE_DATA/Big Class Families.jmp");

Current Journal();

H List Box(dt1 << get as report, dt2 << get as report) << journal;

Close(dt1, nosave);
Close(dt2, nosave);

 

-Jarmo

View solution in original post

jthi
Super User

Re: Journal in 2 or 3 columns

You can use Text boxes

Names Default To Here(1); 

dt1 = open("$SAMPLE_DATA/Big Class.jmp");
dt2 = open("$SAMPLE_DATA/Big Class Families.jmp");

Current Journal();

H List Box(dt1 << get as report, dt2 << get as report) << journal;

Close(dt1, nosave);
Close(dt2, nosave);

Text Box("My text") << Journal;

but I would suggest you build your report in new window and then turn it into journal when it is ready (this can be a bit difficult with reports)

Names Default To Here(1); 

dt1 = open("$SAMPLE_DATA/Big Class.jmp");
dt2 = open("$SAMPLE_DATA/Big Class Families.jmp");

nw = New Window("",
	V List Box(
		Text Box("My Text")
	),
	H List Box(
		dt1 << get as report, 
		dt2 << get as report
	);
);

nw << journal;
nw << close window

https://www.jmp.com/support/help/en/17.2/#page/jmp/display-trees.shtml#

-Jarmo

View solution in original post

3 REPLIES 3
jthi
Super User

Re: Journal in 2 or 3 columns

I think you can just wrap them in H List Box (Or Lineup Box(N Col(2))

Names Default To Here(1); 

dt1 = open("$SAMPLE_DATA/Big Class.jmp");
dt2 = open("$SAMPLE_DATA/Big Class Families.jmp");

Current Journal();

H List Box(dt1 << get as report, dt2 << get as report) << journal;

Close(dt1, nosave);
Close(dt2, nosave);

 

-Jarmo
Dennisbur
Level IV

Re: Journal in 2 or 3 columns

Thank you!
BTW also, do I have the option to add text in the Journal by script JSL?

jthi
Super User

Re: Journal in 2 or 3 columns

You can use Text boxes

Names Default To Here(1); 

dt1 = open("$SAMPLE_DATA/Big Class.jmp");
dt2 = open("$SAMPLE_DATA/Big Class Families.jmp");

Current Journal();

H List Box(dt1 << get as report, dt2 << get as report) << journal;

Close(dt1, nosave);
Close(dt2, nosave);

Text Box("My text") << Journal;

but I would suggest you build your report in new window and then turn it into journal when it is ready (this can be a bit difficult with reports)

Names Default To Here(1); 

dt1 = open("$SAMPLE_DATA/Big Class.jmp");
dt2 = open("$SAMPLE_DATA/Big Class Families.jmp");

nw = New Window("",
	V List Box(
		Text Box("My Text")
	),
	H List Box(
		dt1 << get as report, 
		dt2 << get as report
	);
);

nw << journal;
nw << close window

https://www.jmp.com/support/help/en/17.2/#page/jmp/display-trees.shtml#

-Jarmo

Recommended Articles