Using the following commands the attached screenshot is generated:
gnuplot> set multiplot layout 1,2
multiplot> sp 'theta_1/grid2/splot.111' w l ls 1
multiplot> set hidden3d
multiplot> sp 'theta_1/grid2/splot.111' w l ls 1
multiplot> unset multiplot
The problem is that the image on the right has lost color, and does not have different colors for the top and bottom parts of the surface. Played with "offset <n>" options with no luck. Interestingly, the image on the right takes around 10 times longer to generate. Have tested this on three different Linux environments using gnuplot 5.2, 5.4 and 6.0, all of which yield the same output. I still have the output from gnuplot 4.6 which worked perfectly.</n>
Please attach the data file also. I is hard to reproduce a data plot without the data.
Problem fixed. It seems with "set hidden3d" it is important to add "u 1:2:3" to the splot command (at least for my input file):
gnuplot> set multiplot layout 1,2
multiplot> sp 'theta_1/grid2/splot.111' w l ls 1
multiplot> set hidden3d
multiplot> sp 'theta_1/grid2/splot.111' u 1:2:3 w l ls 1
Last edit: Igor Bray 2 days ago
Last edit: Igor Bray 2 days ago