Greetings

I want to plot a function that is only defined on disjoint subsets of

the x-axis. It is easy enough for me to write such functions on

paper, e.g.,

f(x)= 1 for [0,.5], [1.1,2], [2.3,4.1]

= undefined elsewhere

but it is not clear to me how to use gnuplot's syntax to plot the

function defined above.

Any help or suggestions would be appreciated.

Thanks in advance,

Alec Himwich