Hi,
I have a simple script to do six bivariates and arrange them in rows. The graphs appear to be correct, but the log is showing an error. When I do the manual fit via the dialog box the plots get generated (without the arrange in rows), but without any error being flagged. I am writing this script to distribute so I would like to resolve this error. Where should I start looking?
Thanks in advance
Andy
Name Unresolved: By in access or evaluation of 'By' , By( :device_ID ) /*###*/Exception in platform launch in access or evaluation of 'Fit Group' , Fit Group(/*###*/Bivariate( Y( :Charge_Transfer_%0 ), X( :cycle_num ) ),
Bivariate( Y( :TvB_%0 ), X( :cycle_num ) ),
Bivariate( Y( :TvD_%0 ), X( :cycle_num ) ),
Bivariate( Y( :Name( "a*_%0" ) ), X( :cycle_num ) ),
Bivariate( Y( :Name( "b*_%0" ) ), X( :cycle_num ) ),
Bivariate( Y( :Name( "L*_%0" ) ), X( :cycle_num ) ),
<<{Arrange in Rows( 6 )},
By( :device_ID )
)
In the following script, error marked by /*###*/
Fit Group(
Bivariate( Y( :Charge_Transfer_%0 ), X( :cycle_num ) ),
Bivariate( Y( :TvB_%0 ), X( :cycle_num ) ),
Bivariate( Y( :TvD_%0 ), X( :cycle_num ) ),
Bivariate( Y( :Name( "a*_%0" ) ), X( :cycle_num ) ),
Bivariate( Y( :Name( "b*_%0" ) ), X( :cycle_num ) ),
Bivariate( Y( :Name( "L*_%0" ) ), X( :cycle_num ) ),
<<{Arrange in Rows( 6 )},
By( :device_ID ) /*###*/
)
dt<<currentdatatable();
dt<<clear row states;
New Window( "Fitness - Bivariate",
V List Box(
Fit Group(
Bivariate( Y( :name("Charge_Transfer_%0" )), X( :cycle_num ) ),
Bivariate( Y( :name("TvB_%0" )), X( :cycle_num ) ),
Bivariate( Y( :name("TvD_%0" )), X( :cycle_num ) ),
Bivariate( Y( :Name( "a*_%0" ) ), X( :cycle_num ) ),
Bivariate( Y( :Name( "b*_%0" ) ), X( :cycle_num ) ),
Bivariate( Y( :Name( "L*_%0" ) ), X( :cycle_num ) ),
<<{Arrange in Rows( 6 )},
By( :name("device_ID") )
),
)
);