Changeset 165


Ignore:
Timestamp:
Feb 23, 2012, 12:03:44 PM (13 years ago)
Author:
demin
Message:

switch to 10000 bins for the rate histogram

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MultiChannelUSB/UserInterface.tcl

    r162 r165  
    883883        my set recs 0
    884884
    885         vector create [myvar xvec](4096)
    886         vector create [myvar yvec](4096)
    887 
    888         # fill one vector for the x axis with 4096 points
    889         [myvar xvec] seq -0.5 4095.5
     885        vector create [myvar xvec](10000)
     886        vector create [myvar yvec](10000)
     887
     888        # fill one vector for the x axis with 10000 points
     889        [myvar xvec] seq -0.5 9999.5
    890890
    891891        my setup
     
    941941        $graph grid configure -hide no
    942942        $graph legend configure -hide yes
    943         $graph axis configure x -min 0 -max 4096
     943        $graph axis configure x -min 0 -max 10000
    944944
    945945        set config [frame ${master}.config -width 170]
     
    12661266        my instvar cntr cntr_val recs recs_val
    12671267
    1268         set size 4096
     1268        set size 10000
    12691269
    12701270        set prefix [format {%x} 8]
     
    13221322
    13231323    CntDisplay instproc register {} {
    1324         my save_data [join [[myvar yvec] range 0 4095] \n]
     1324        my save_data [join [[myvar yvec] range 0 9999] \n]
    13251325    }
    13261326
Note: See TracChangeset for help on using the changeset viewer.