Changeset 3781 for trunk/examples


Ignore:
Timestamp:
Jul 12, 2013 11:56:54 AM (11 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

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

    r3706 r3781  
    8787$driver put output.curve(bars).yaxis.units "V"
    8888
    89 for {set x $min} {$x < $max} {set x [expr {$x+$dx}]} {
     89for {set x 0} {$x < $npts} {incr x} {
    9090    set y [expr {sin($x)/(1+$x)}]
    9191    $driver put -append yes output.curve(bars).component.xy "$x $y\n"
Note: See TracChangeset for help on using the changeset viewer.