Hello, > This example makes me wonder if there is an advantage if such looping > operations could be vectorized. How would this example be vectorized? > Allan Cornet posted another solution to the problem without loops. You can use xdel(winsid()) to close all figures in one operation.