cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
Dyan
Level I

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