The set missing command allows you to tell gnuplot what character is used in a data file to denote missing data.
Syntax:
set missing {"<character>"} show missing
Example:
set missing "?"
would mean that, when plotting a file containing
1 1 2 ? 3 2
the middle line would be ignored.
There is no default character for missing.