I try to create a nice waterfall map with gnuplot showing the development of an optical spectrum with current. My goal is to achieve something close to this :
I have tried this command
splot [][1160:1200][-80:-30] "Waterfall.txt" u 1:2:3 w l lw 3 lc rgb 'black'
The "Waterfall.txt" file has the format suggested in the accepted answer here Gnuplot: fence plot from data. I have ignored z-data values lower than -80, substituting them with NaN.
The outcome is shown in the next image link.
As you can see, compared with the previous figure, this is confusing to the reader. How can I fix it in order for it to be close to the first image and thus more clear to the viewer ?
Edit:
Thanks to @Ethan's answer it worked. The outcome is shown in the figure below. The only problem is the transparency of each fence, that reveals partially the subsequent fences.

zerrorfillfor fence plots, see gnuplot.sourceforge.net/demo_5.2/fenceplot.html - Christophset datafile missing NaN. As Christophe says, the current recommended way to construct a fence plot is to use thezerrorfillplotting style. Please try that and amend your question if it does not work. - Ethan