working space int to double precision
added ticker marks below and above min and max values if with a certain tolerance.