I have this simple self-contained gnuplot script:
set terminal png size 400,300
set output 'test.png'
unset key
set xrange [30:50]
$data << EOD
42, 5.7
44, 8.1
46, 8.9
48, 9.2
50, 9.3
EOD
plot "$data" using 1:2 smooth csplines, \
"$data" using 1:2 with points
Both the points and the csplines
curve show up just fine in the output:
But now watch what happens when I reverse the x-axis direction by changing the xrange
line to:
set xrange [50:30]
Everything else kept the same, the csplines
curve is now missing from the output, whereas the points still show up correctly:
How can I get the csplines
curve to show up in the second case?
(i.e. with the right-to-left axis.)