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
Dyan
Level II

How do i put the generated graph to a journal

GB = Graph Builder(
	Size( 621, 472 ),
	Variables(
			X(colX[i]),
			Y(colY[i])
	),
	Elements(
			Position( 1, 1 ),
			Points( X, Y, Legend( 67 ) ),
			Smoother( X, Y, Legend( 68 ) )
	),
						
						
			
	SendToReport(
		Dispatch(
			{},
			"Graph",
			ScaleBox,
			{Label Row( {Show Major Grid( 1 ), Show Minor Grid( 1 )} )}
			)
		)
			
);
		
graph = GB << Graph;

Hi all may i ask how can i edit this script such that it will show up in my current journal? As of now what all this does is open a new window with the full interactive graphbuilder and leaves the journal blank.

This is a part of a bigger script where there are other generated graph not made using graphbuilder and are able to be placed in the journal.

 

this is JMP 16

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How do i put the generated graph to a journal

Using <<Journal should work

Names Default To Here(1);
//This message applies to all display box objects
dt = Open("$SAMPLE_DATA/Big Class.jmp");

obj = dt << Graph Builder(
	Variables(X(:Sex), Y(:Height), Group X(:Age)),
	Elements(Box Plot(X, Y))
);
rep = obj << report;

rep << journal;

jthi_0-1682498380016.png

 

-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: How do i put the generated graph to a journal

Using <<Journal should work

Names Default To Here(1);
//This message applies to all display box objects
dt = Open("$SAMPLE_DATA/Big Class.jmp");

obj = dt << Graph Builder(
	Variables(X(:Sex), Y(:Height), Group X(:Age)),
	Elements(Box Plot(X, Y))
);
rep = obj << report;

rep << journal;

jthi_0-1682498380016.png

 

-Jarmo

Recommended Articles