#!/bin/csh # First draw network and label the nodes triangulate table_5.11 -M >! net.xy psxy -R0/6.5/-0.2/6.5 -JX3.4/3.5 -B2f1WSNe -M net.xy -W2 -P -K -Y5 >! example_12.ps psxy table_5.11 -R -JX -O -K -Sc0.12 -G255 -L >> example_12.ps awk '{print $1, $2, 6, 0, 0, 6, NR-1}' table_5.11 | pstext -R -JX -O -K >> example_12.ps # Then draw network and print the node values psxy -R -JX -B2f1eSNw -M net.xy -W2 -O -K -X3.6 >> example_12.ps psxy -R -JX -O -K table_5.11 -Sc0.03 -G0 >> example_12.ps awk '{printf "%lg %s 6 0 0 5 %lg\n", $1, $2, $3}' table_5.11 | pstext -R -JX -O -K -W255o -C0.01/0.01 -D0.08/0 -N >> example_12.ps # Then contour the data and draw triangles using dashed pen pscontour -R -JX table_5.11 -B2f1WSne -W3 -Ctopo.cpt -L1ta -G1 -X-3.6 -Y-4 -O -K -U"Example 12 in Cookbook" >> example_12.ps # Finally color the topography pscontour -R -JX table_5.11 -B2f1eSnw -Ctopo.cpt -I -X3.6 -O -K >> example_12.ps echo '3.5 8.4 30 0 1 2 Delaunay Triangulation' | pstext -R0/8/0/11 -Jx1 -O -X-3.6 >> example_12.ps \rm net.xy .gmtcommands