TABLE OF CONTENTS


::pwtk::gp::execDisplay_

SYNOPSIS

proc ::pwtk::gp::execDisplay_ {gp optVar} {

PURPOSE

Execute gnuplot and if $opt(v), display the resulting plot for file terminals.

ARGUMENTS

RETURN VALUE

Filenames of the created Gnuplot plots (for file terminals) or the empty string (for window terminals).

SOURCE

    upvar $optVar opt

    $gp exec
    set output [$gp outputs]
    $gp destroy

    displayPlots_ $opt(v) $opt(t) $output

    return $output
}