function setslide()
     global logfile window subp;
updateAxes;
