startGPS = 1113368400-1000;;
stopGPS = startGPS+9000;

% channels
channelName = 'H1:TCS-ITMX_HWS_DALSACAMERASWITCH';
whichtrend = 'mean';

% get data
dataDuration = stopGPS-startGPS;
[datavect1, timevect1] = getFrameData(channelName, startGPS, dataDuration);
[datavect2, timevect2] = getFrameData([channelName '.' whichtrend], startGPS, dataDuration, 'T');
[datavect3, timevect3] = getFrameData([channelName '.' whichtrend], startGPS, dataDuration, 'M');

figure
plot(timevect1-timevect1(1), datavect1,'LineWidth',2)
hold on
plot(timevect2-timevect2(1), datavect2,'r','LineWidth',2)
plot(timevect3-timevect3(1), datavect3,'g','LineWidth',2)
