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

solved

solved

MGO
5 REPLIES 5
ih
Super User (Alumni) ih
Super User (Alumni)

Re: How to save the script IF the report was generated from new windows ???

Instead of opening the reports in the new window, could you just load the platforms directly?  Using this method you should have the entire platform available:

 

Names default to here(1);

dt = Open( "$Sample_data/big class.jmp" );

New Window("Reports",
	H List Box(
		Bivariate( Y( :height ), X( :weight ) ),
		Oneway( Y( :height ), X( :age ) )
	)
);

ih_0-1635544657217.png

 

jemg
Level III

Re: How to save the script IF the report was generated from new windows ???

solved
MGO
ih
Super User (Alumni) ih
Super User (Alumni)

Re: How to save the script IF the report was generated from new windows ???

I don't know of a straight forward way to take an existing report and save the script from it without a couple steps in between.  But you can build the new window with a for loop:

 

Names default to here(1);

dt = Open( "$Sample_data/iris.jmp" );

New Window("Reports", hlb = H List Box( ) );

cols ={:Sepal width, :Petal length, :Petal width};

for(c=1, c<=n items(cols), c++,
	hlb << Append( Bivariate( Y( cols[c] ), X( :Sepal length ) ) )
);
jemg
Level III

Re: How to save the script IF the report was generated from new windows ???

solved

MGO

Re: How to save the script IF the report was generated from new windows ???

See Line Up Box display box.

 

lineup.PNG