For example, I currently use the following construct to plot a line and its associated Standard Error deviations (up to 4 bands):
Code: Select all
inputs:
Long_Deviation_Bands ( 3 ) ,
Long_Deviation_Bands_First ( 1 ) ,
Long_Deviation_Bands_Next ( 1 ) ;
variables:
v_Long_Linear_Reg_Current ( 0 ) ,
v_Long_Dev ( 0 ) ,
k ( 0 ) ,
x ( 0 ) ;
plot1( v_Long_Linear_Reg_Current, "Line 1 Method") ;
for k = 1 to Long_Deviation_Bands
begin
x = (Long_Deviation_Bands_First + (k - 1) * Long_Deviation_Bands_Next) * v_Long_Dev ;
switch (k)
begin
case 1 :
begin
plot2 (v_Long_Linear_Reg_Current + x) ;
plot3 (v_Long_Linear_Reg_Current - x)) ;
end ;
case 2 :
begin
plot4 (v_Long_Linear_Reg_Current + x) ;
plot5 (v_Long_Linear_Reg_Current - x) ;
end ;
case 3 :
begin
plot6 (v_Long_Linear_Reg_Current + x) ;
plot7 (v_Long_Linear_Reg_Current - x) ;
end ;
case 4 :
begin
plot8 (v_Long_Linear_Reg_Current + x) ;
plot9 (v_Long_Linear_Reg_Current - x) ;
end ;
end ;
end ;
Code: Select all
inputs:
Long_Deviation_Bands ( 3 ) ,
Long_Deviation_Bands_First ( 1 ) ,
Long_Deviation_Bands_Next ( 1 ) ;
variables:
v_Long_Linear_Reg_Current ( 0 ) ,
v_Long_Dev ( 0 ) ,
Dynamic_Command ( "" ) ,
k ( 0 ) ,
x ( 0 ) ;
plot1( v_Long_Linear_Reg_Current, "Line 1 Method") ;
for k = 1 to Long_Deviation_Bands
begin
x = (Long_Deviation_Bands_First + (k - 1) * Long_Deviation_Bands_Next) * v_Long_Dev ;
Dynamic_Command = "plot" & NumtoStr(k*2,0) & "(v_Long_Linear_Reg_Current + x)" ;
SubmitDynCmd (Dynamic_Command);
Dynamic_Command = "plot" & NumtoStr(k*2+1,0) & "(v_Long_Linear_Reg_Current - x)" ;
SubmitDynCmd (Dynamic_Command);
end ;
If not, is there any appetite in the field for such a capability, in which case I would submit a feature request in the Project Management section ?
Thank You.