Choose Language Hide Translation Bar
Highlighted
mlo1
Level III

Saving Graph in Expression Column

Is there an jsl scripting option to save a graph window directly from a calculation, e.g. as picture/png, into a row in an expression column.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
txnelson
Super User

Re: Saving Graph in Expression Column

Here is an example of saving an image from a report directly into a data table.

names default to here(1);
dt=open("$SAMPLE_DATA/big class.jmp");
dt << new column("The Images", expression);
dt << Set Cell Height( 97 );

biv = Bivariate(
	Y( :height ),
	X( :weight )
);

dt:The Images[1] = report(biv)[outlinebox(1)]<<get picture;
Jim

View solution in original post

3 REPLIES 3
Highlighted
txnelson
Super User

Re: Saving Graph in Expression Column

Here is an example of saving an image from a report directly into a data table.

names default to here(1);
dt=open("$SAMPLE_DATA/big class.jmp");
dt << new column("The Images", expression);
dt << Set Cell Height( 97 );

biv = Bivariate(
	Y( :height ),
	X( :weight )
);

dt:The Images[1] = report(biv)[outlinebox(1)]<<get picture;
Jim

View solution in original post

Highlighted
mlo1
Level III

Re: Saving Graph in Expression Column

Thank you very much
Highlighted

Re: Saving Graph in Expression Column

This cookbook recipe shows how to do the same in a data-driven fashion.

It is similar to how JMP 15.0 graphlets work under the covers, though they do not rely on Expression columns.

Article Labels

    There are no labels assigned to this post.