This is my dirty little list of things to make my life with Igor easier. // This function performs a command on a list of waves. The wave can only be used once in the command. // Example: updategraphs("ColorScale/W=","/C/N=text0/B=1") will execute // ColorScale/W='FoobarGraph'/C/N=text0/B=1, thus making all the f(z) colorscale backgrounds transparent. function updategraphs(Commandfront,CommandRear) string CommandFront, CommandRear string GraphNames Variable i=0,ListLength=0 //Find all the graphs that are currently displayed, return a semicolon seperated list. //Edit the first "*" to something like "SignalGraph_*" to restrict to common strings. //See winlist function for details in the igor guide. Graphnames=Winlist("*",";","WIN:1") //get the length of the list of graphs ListLength=ItemsInList(Graphnames,";") //Step through the list and exectute the commands for(i=0; i