Changeset 2388 for trunk/examples
- Timestamp:
- Aug 16, 2011, 3:41:57 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/zoo/histogram/histogram.tcl
r2324 r2388 14 14 15 15 set npts [$driver get input.(points).current] 16 set min 0.0116 set min 1 17 17 set max 10.0 18 18 set dx [expr {($max-$min)/double($npts)}] … … 44 44 "Frequency of the input source." 45 45 $driver put output.histogram(multi$factor).xaxis.units "Hz" 46 $driver put output.histogram(multi$factor).xaxis.scale "log"47 46 $driver put output.histogram(multi$factor).yaxis.label "Current" 48 47 $driver put output.histogram(multi$factor).yaxis.description \ … … 80 79 set name [lindex $labels $count] 81 80 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" 83 82 } 84 83
Note: See TracChangeset
for help on using the changeset viewer.