Changeset 2388 for trunk/examples


Ignore:
Timestamp:
Aug 16, 2011, 3:41:57 PM (13 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/zoo/histogram/histogram.tcl

    r2324 r2388  
    1414
    1515set npts [$driver get input.(points).current]
    16 set min 0.01
     16set min 1
    1717set max 10.0
    1818set dx [expr {($max-$min)/double($npts)}]
     
    4444        "Frequency of the input source."
    4545    $driver put output.histogram(multi$factor).xaxis.units "Hz"
    46     $driver put output.histogram(multi$factor).xaxis.scale "log"
    4746    $driver put output.histogram(multi$factor).yaxis.label "Current"
    4847    $driver put output.histogram(multi$factor).yaxis.description \
     
    8079    set name [lindex $labels $count]
    8180    incr count
    82     $driver put -append yes $prefix.component.namevalue "[list $name $y]\n"
     81    $driver put -append yes $prefix.component.xy "[list $name $y]\n"
    8382}
    8483
Note: See TracChangeset for help on using the changeset viewer.