Ignore:
Timestamp:
Dec 27, 2011, 2:45:13 PM (13 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

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

    r2743 r2744  
    6161    private variable _lastColorIndex ""
    6262    private variable _dispatcher "" ;# dispatcher for !events
    63     private variable _graph     ""
    64     private variable _tree      ""
    65     private variable _diff      "";     # Polygon marker used for difference.
    66     private variable _rename    "";     # Node selected to be renamed.
     63    private variable _graph     ""
     64    private variable _tree      ""
     65    private variable _diff      "";     # Polygon marker used for difference.
     66    private variable _rename    "";     # Node selected to be renamed.
    6767    private variable _diffelements
    6868    private variable _unmapHidden 0
     
    451451    update
    452452    # Step 1. Get the x-values for each curve, then sort them to get the
    453     #         unique values.
     453    #         unique values.
    454454
    455455    set labels {}
     
    465465
    466466    # Step 2. Now for each curve, generate a cubic spline of that curve
    467     #         and interpolate to get the corresponding y-values for each
    468     #         abscissa.  Normally the abscissa are the same, so we're
    469     #         interpolation the knots.
     467    #         and interpolate to get the corresponding y-values for each
     468    #         abscissa.  Normally the abscissa are the same, so we're
     469    #         interpolation the knots.
    470470
    471471    set x [blt::vector create \#auto -command ""]
     
    488488
    489489    # Step 3.  Create a new curve which is the average. Append it to the
    490     #          the end.
     490    #          the end.
    491491
    492492    set count 0
     
    524524    if { [info exists _diffelements($elem1)] &&
    525525         [info exists _diffelements($elem2)] } {
    526         array unset _diffelements;      # Toggle the difference.
    527         return;                         
     526        array unset _diffelements;      # Toggle the difference.
     527        return;                         
    528528    }
    529529    array unset _diffelements
Note: See TracChangeset for help on using the changeset viewer.