function getday,xticlabs,utvert units=change_time_units(utvert) if units eq 'MINS' then index=2 if units eq 'HRS' then index =1 if units eq 'DAYS' then index=0 labfltarr=float(xticlabs) mtime=utvert.mtime dims=size(mtime) dims=dims[2] check=fltarr(dims) dimslabs=n_elements(xticlabs) for i=0, dims-1 do begin for j=0, dimlabs-1 do begin if labfltarr[j] eq mtime[index,i] then check[i]=check[i]+1 endfor endfor end