%  colors for control buttons
   fgc = [0.6 0.6 0.7 ; 0 0 0 ];
   bgc = [.9 .9 1.] ;
   bgc2 = [.7,.7,.9];

%   FRAME FOR PLOTTING CONTROL

    xframe = 0.3;
    yframe = 1.0;
    ixf    = 0.;
    iyf    = 0.;

% TS plots position
    spleft=0.03;spright=0.1;
    plotpos=[ xframe+spleft 0.07 1-xframe-spleft-spright 0.88];
