def saveHuePlot(slices, bins, floor, ceiling): startTime = time.time() histogram = DataParse.loadStack(slices, bins, floor, ceiling, bits=12,segmented=False, colorSpace="HSV") filename = "HSV Plot" + str(bins) + "Bins" + "Floor" + str(floor) + "Ceiling" + str(ceiling) + ".png" ColorPlots.huePlot(histogram, bins, filename) endTime = time.time() print "Total Time: %g Seconds" % (endTime-startTime) print "For %g Bins" % bins