|
From: Norwid B. <nb...@ya...> - 2021-08-31 05:45:17
|
Dave, based on an entry on stack overflow[1], an input like the following might fit your needs. Save it as file ```test.dat```, then run ```gnuplot test.dat``` (in my case, it is gnuplot 5.4.1 which was good enough, the plot includes the tick for x = 3 but discontinues the line). The MWE: ``` set style data lines set terminal png set output "see.png" i=2 plot '-' using (column(i)):xticlabels(1) title columnheader(i) A B 1 10 2 20 3 ? 4 40 5 50 e ``` credit: [1] https://stackoverflow.com/questions/22738353/gnuplot-skip-missing-data-points-and-xticlabels Norwid |