Changeset 3908 for branches/1.3


Ignore:
Timestamp:
Sep 3, 2013 9:39:38 AM (8 years ago)
Author:
gah
Message:

fix xyresult.tcl to use $label-log instead of $axis-log when checking for log scale

Location:
branches/1.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3/examples/zoo/curve/curve.tcl

    r3786 r3908  
    4444        "Frequency of the input source."
    4545    $driver put output.curve(multi$factor).xaxis.units "Hz"
    46     $driver put output.curve(multi$factor).xaxis.scale "log"
     46    #$driver put output.curve(multi$factor).xaxis.scale "log"
    4747    $driver put output.curve(multi$factor).yaxis.label "Current"
    4848    $driver put output.curve(multi$factor).yaxis.description \
  • branches/1.3/gui/scripts/xyresult.tcl

    r3887 r3908  
    15041504            }
    15051505            if  { [$dataobj hints ${axis}scale] == "log" } {
    1506                 set _limits(${axis}log) 1
     1506                set tag ${label}-log
     1507                set _limits($tag) 1
    15071508            }
    15081509            if { ![info exists _label2axis($label)] } {
     
    15271528    # Next set the axes based on what we've found.
    15281529    foreach label [array names _label2axis] {
    1529         set logscale [info exists _limits(${label}log)]
     1530        set logscale [info exists _limits(${label}-log)]
    15301531        set amin ""
    15311532        if { [info exists _limits(${label}-min)] } {
Note: See TracChangeset for help on using the changeset viewer.