plot sin(x)
do for [w = 2:4] {replot sin(w*x)}

Produces two curves (sin(x) and sin(4*x) ) and four labels.
Is it intended behavior?

Dmitri.
--