Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
avner8943
Level III

get bivariate plot as scritable

Hello,

 

how can I get a bivariate plot as an object in jsl script? like, if I plot this graph below thru the regular jmp GUI "FIT X by Y" and then I want to write something like

 image.png

 

"Big Class" << get plot as scriptable;
1 REPLY 1
Highlighted

Re: get bivariate plot as scritable

Well, taking what you said literally, you cannot. The plot is part of the scriptable Bivariate object. It cannot exist on its own. You might actually want something else. For example, you can get a copy of this object using the << Clone Box message, but the copy is no longer linked to the Bivariate platform or the data table. It is not interactive. You can get a reference to it using the << Report message to the platform and then send more messages to change or query the report layer. 

 

dt = Current Data Table();

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

biv rep = biv << Report;

 

 

Learn it once, use it forever!
Article Labels

    There are no labels assigned to this post.