cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
shankyjain
Level I

In JSL how to save New Window HList Box multiple Bivariate plots as a script in datatable

In manual plotting, I usually plot a multiple bi-variate plot and use the option "save script for all objects" and copy the contents of generated script as a new script within the datatable and save the datatable. This way, next time i can run the script to generate the plot.

Now, in JSL i have copied the script generated by "save script for all objects" but don't know how to pass commands to save this as a script in the datatable on which the main JSl script is operating!

Finally , i just want the plot to be saved as a script within the datatable by using JSL as i'm already generating the datatble in JSL

code generated by "save script for all objects"

New Window( "Plot - Fit Y by X of Id_%deg, IDF(uA) by time 2",

  H List Box(

  Bivariate(

  Y( :Id_%deg ),

  X( :time ),

  SendToReport(

  Dispatch(

  {},

  "1",

  ScaleBox,

  {Scale( "Log" ), Format( "Scientific", 12 ),

  Min( 0.73058544209732 ), Max( 20000 ), Inc( 1 ),

  Minor Ticks( 8 ), Show Major Grid( 1 ), Show Minor Grid( 1 ),

  Rotated Labels( "Horizontal" )}

  ),

  Dispatch(

  {},

  "2",

  ScaleBox,

  {Scale( "Log" ), Format( "Best", 12 ), Min( 0.0142496799685873 ),

  Max( 46.3114598979087 ), Inc( 1 ), Minor Ticks( 8 ),

  Show Major Grid( 1 ), Show Minor Grid( 1 ),

  Rotated Labels( "Horizontal" )}

  ),

  Dispatch( {}, "Bivar Plot", FrameBox, {Frame Size( 348, 274 )} )

  )

  ),

  Bivariate(

  Y( :Name( "IDF(uA)" ) ),

  X( :time ),

  SendToReport(

  Dispatch(

  {},

  "1",

  ScaleBox,

  {Scale( "Log" ), Format( "Scientific", 12 ),

  Min( 6.53505316748169 ), Max( 20000 ), Inc( 1 ),

  Minor Ticks( 8 ), Show Major Grid( 1 ), Show Minor Grid( 1 ),

  Rotated Labels( "Horizontal" )}

  ),

  Dispatch(

  {},

  "Bivar Plot",

  FrameBox,

  {Frame Size( 348, 274 ),

  Row Legend(

  Measurement,

  Color( 1 ),

  Color Theme( "JMP Default" ),

  Marker( 0 ),

  Marker Theme( "" ),

  Continuous Scale( 0 ),

  Reverse Scale( 0 ),

  Excluded Rows( 0 )

  ), Row Legend(

  Site,

  Color( 0 ),

  Color Theme( "" ),

  Marker( 1 ),

  Marker Theme( "Standard" ),

  Continuous Scale( 0 ),

  Reverse Scale( 0 ),

  Excluded Rows( 0 )

  )}

  )

  )

  )

  )

);

Now, in JSL i have copied the script generated by "save script for all objects" but don't know how to pass commands to save this as a script in the datatable on which the main JSl script is operating!

Finally , i just want the plot to be saved as a script within the datatable by using JSL.

1 ACCEPTED SOLUTION

Accepted Solutions
ms
Super User (Alumni) ms
Super User (Alumni)

Re: In JSL how to save New Window HList Box multiple Bivariate plots as a script in datatable

You can add a table script like this:

dt << New Table Script( "My plot", jsl_expression... );

View solution in original post

2 REPLIES 2
ms
Super User (Alumni) ms
Super User (Alumni)

Re: In JSL how to save New Window HList Box multiple Bivariate plots as a script in datatable

You can add a table script like this:

dt << New Table Script( "My plot", jsl_expression... );

shankyjain
Level I

Re: In JSL how to save New Window HList Box multiple Bivariate plots as a script in datatable

Thanks and that was quick reply!!