setitemstyle(w, s)
{
local i;
if (argc < 2)
{
if (argc < 1) error("setitemstyle - input style required");
if (isscalar(w))
{
s = w;
w = refwindow(w0);
}
else
{
error("setitemstyle - input style required");
}
}
loop (i = 1..numitems(w))
{
setplotstyle(w, s, i);
}
}