That behaviour is to be expected. The data at y=124.00151837(!) gets clipped since the the yrange is [122:124]. If you want it included the yrange needs to be extended (or you have to round the number of digits).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear all,
I have a problem splotting a pm3d map of data, three columns devided by an empty line.
The plot works so far, except that there is a white line at the upper Y range border, which should contain data.
Gnuplot is 4.4 patchlevel 3
script:
!/bin/bash
gnuplot -persist << EOF
set term wxt enhanced
set pm3d map explicit
set palette negative rgb 30,31,32
set xrange [-0.5:1]
set yrange [122:124]
set cbrange [:]
splot "data.txt" u 1:2:3
set term postscript enhanced color solid landscape
set output "out.ps"
replot
set out
output and datafile:
https://www.dropbox.com/sh/mhr257b2tzw0dc3/AADypqjExiLhprggI2kGv_u4a
Thanks a lot for your help!
That behaviour is to be expected. The data at y=124.00151837(!) gets clipped since the the yrange is [122:124]. If you want it included the yrange needs to be extended (or you have to round the number of digits).
At which point you will need an additional command to shrink the axis itself back to the data range:
In current gnuplot (4.6 or 5.0) you should use the command
set yrange [*:*] noextend
As I recall, the procedure in version 4.4 was more roundabout.
I think it was
set auto y
set auto yfix
Last edit: Ethan Merritt 2014-10-24