#!/usr/bin/env gnuplot datafile="bands_second.dat" # output outfile="bands_second_plot.tex" set output outfile # terminal set term lua tikz size 10,6 standalone tightboundingbox # format axes set key off unset colorbox unset border unset xtics unset ytics unset ztics # colors ## 4169E1 (pastel blue) ## FF143C (bright red) ## 32CD32 (bright green) ## DAA520 (ochre) # angle camera set view 90,50 # style for mesh lines set style line 1 linetype rgbcolor "#000000" # splot mode set pm3d hidden3d depthorder # set colors set palette defined (0 "#DAA520",0.33 "#FF143C", 0.66 "#32CD32",1 "#4169E1") # plot splot datafile using 1:2:3:4 with pm3d linestyle 1 , \ datafile using 5:6:7:8 with pm3d linestyle 1 , \ datafile using 9:10:11:12 with pm3d linestyle 1 , \ datafile using 13:14:15:16 with pm3d linestyle 1