Changeset 768 for trunk/gui/scripts


Ignore:
Timestamp:
Jun 10, 2007 5:56:34 PM (17 years ago)
Author:
mmc
Message:

Added <control>manual-resim</control> directive. This allows you to
re-simulate a combination of input parameters that have already been
entered. This was requested for the Qwalk tool.

Added "-decorations no" to the postscript output for XY plots, so it
comes out a little cleaner.

Location:
trunk/gui/scripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/analyzer.tcl

    r745 r768  
    317317        # check to see if simulation is really needed
    318318        $_tool sync
    319         if {[$itk_component(resultset) contains [$_tool xml object]]} {
     319        if {[$itk_component(resultset) contains [$_tool xml object]]
     320              && ![string equal $_control "manual-resim"]} {
    320321            # not needed -- show results and return
    321322            $itk_component(notebook) current analyze
     
    422423    # check to see if simulation is really needed
    423424    $_tool sync
    424     if {![$itk_component(resultset) contains [$_tool xml object]]} {
     425    if {![$itk_component(resultset) contains [$_tool xml object]]
     426          || [string equal $_control "manual-resim"]} {
    425427        # if control mode is "auto", then simulate right away
    426428        if {[string match auto* $_control]} {
  • trunk/gui/scripts/numberresult.tcl

    r766 r768  
    569569              }
    570570              pdf {
    571                 set psdata [$itk_component(plot) postscript output -maxpect 1]
     571                set psdata [$itk_component(plot) postscript output -decorations no -maxpect 1]
    572572
    573573                set cmds {
  • trunk/gui/scripts/xyresult.tcl

    r767 r768  
    495495              }
    496496              pdf {
    497                 set psdata [$itk_component(plot) postscript output -maxpect 1]
     497                set psdata [$itk_component(plot) postscript output -decorations no -maxpect 1]
    498498
    499499                set cmds {
Note: See TracChangeset for help on using the changeset viewer.