try
close(inst_plot);
catch
    fprintf('Already closed');
end

inst_plot=figure;
set(inst_plot,'name','Fluoro STATS');
t=get(Dhand.Time_Select,'value');
    switch t,
     case 1
        t=1;
      case 2
        t=3;
     case 3
        t=7;
     case 4
        t=100000; 
    end % switch
tind=find(Drift.fluor(1,:)>=now-t);
XLim=[(now-t) now];
YLim=[0 (max(Drift.fluor(2,tind))+0.5)];

plot(Drift.fluor(1,tind),Drift.fluor(2,tind),'g*');
datetick('x');
xlabel('Time','FontWeight','Bold');
ylabel('Volts','FontWeight','Bold');
title(sprintf('%s WetStar Fluorescence',graphtitle));
set(gca, 'XLim', XLim, 'YLim', YLim)