cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
johanna_younous
Level III

Make invisible data table out of a graph builder

Hello , 

Inside a loop, I make datatables out of graph builders . Point is that I would like those data tables to be invisible and I cannot figure out how to do it. As an illustration, here is the exemple from the scripting help : 

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
obj = Graph Builder(
	Variables( X( :Sex ), Y( :Height ), Group X( :Age ) ),
	Elements( Box Plot( X, Y ) )
);
obj << Make into Data Table(invisible);

 I tried also 

dt = obj << Make into data table <<invisible; 
dt = obj << Make into data table;dt <<invisible ;
dt = obj << Make into data table(visibility ("invisible")) ;

and some other combinations  but nothing is hiding the data table and I cannot figure out what is going on.

 

I'm working on JMP 14.1.0 (64 bits) 

Thanks a lot for any help ! 

regards

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Make invisible data table out of a graph builder

I think usually the syntax is Invisible(1). If it doesn't work, you can turn the window invisible after it has been created

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
obj = Graph Builder(Variables(X(:Sex), Y(:Height), Group X(:Age)), Elements(Box Plot(X, Y)));
dt = obj << Make into Data Table(); // usually syntax is invisible(1)
dt << Show Window(0);
wait(0); // might not be necessary

-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: Make invisible data table out of a graph builder

I think usually the syntax is Invisible(1). If it doesn't work, you can turn the window invisible after it has been created

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
obj = Graph Builder(Variables(X(:Sex), Y(:Height), Group X(:Age)), Elements(Box Plot(X, Y)));
dt = obj << Make into Data Table(); // usually syntax is invisible(1)
dt << Show Window(0);
wait(0); // might not be necessary

-Jarmo
johanna_younous
Level III

Re: Make invisible data table out of a graph builder

Thx, it works! 

Still I wonder why the usual "invisible" spécification while making the data table is not working here.. 

Anyway, I have solution ! Thank you again.