#pragma rtGlobals=1 // Use modern global access method. Function doSubtractOnAllWindows() String allGraphNames = WinList("*", ";", "WIN:1") Variable nGraphs = ItemsInList(allGraphNames) Variable i for (i=0; i