Generally speaking, if you want to execute an external program from awk you can try the system() function or - in alternative - print the command line and pipe it down to the shell, e.g.
Code:
status = system("xgraph arguments")
or
Code:
print "xgraph arguments" | "/bin/bash"
See the GNU awk manual for details,
here.