cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

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