Plotting data that include NaN
Does anybody know of a plotting program on linux (I use Debian) that accepts missing values (NaN, NA, undef,...) and ignores them on a plot? I've tried several programs (xmgrace, octave, labplot). Each accepts the NaN's but when plotting the data it either sets the value to +Inf or connects the two bordering points. I'm looking for a program that line-connects only points with no missing values in between and leaves a blank spot on the plot when encountering NaN's (like Grapher or Origin on Windows).