I'm trying to create plots where contour labels are placed next to the
I've found *label_contours.awk* on the gnuplot.info web page, and --
after some tweaking-- it's doing its job.
However, I've noticed that the script generates a gnuplot plot script
that uses deprecated syntax.
Namely, the line that actually makes the final plot looks like this:
instead of this:
My self-compiled gnuplot 4.3 croaks on the original version.
The information that accompanies the awk script on the home page is
"Example of use (from gnuplot):
set contour base; set cntrparam levels 15; unset surface
set term table; set out "contour.dat"
set out; set term pop
!awk -f label_contours.awk -v nth=10 textcolor=-1 inclt=1
reset; load 'tmp.gp'"
'set term table' is not recognized anymore by current gnuplot
versions; 'set table "contour.dat"' seems to be the correct version.
Maybe the script and the home page should be updated to use current