TABLE OF CONTENTS
plot::exec
SYNOPSIS
method exec {} {
USAGE
$obj exec
PURPOSE
Write a Gnuplot script to the $head.gp file and execute Gnuplot.
SOURCE
my write try { #exec gnuplot --persist $head.gp set result [exec -ignorestderr gnuplot $head.gp] } on error err { ::pwtk::error "an error occurred while executing gnuplot\n\n$err" } set ext [string toupper $term] set ots [my outputs] foreach img $ots { print " $ext plot written to: $img" } if { $ots ne {} } { puts "" } ::pwtk::ifnotempty result { puts $result } return [::pwtk::varvalue result] }