- Timestamp:
- Aug 31, 2018, 3:11:29 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing.py
r2118 r2120 2433 2433 [pointfreq]: frequency of point plotting (every given number of values), 2434 2434 'all' to plot all values using all time steps 2435 'runmean',[Nsteps]: computing a running mean of [Nsteps] along all values 2435 2436 [period]: which period of the data to plot: 2436 2437 '-1': all period of data … … 2721 2722 print ' period in file:',np.min(reftvals), np.max(reftvals) 2722 2723 2723 varvalues.append(vvobj[ibeg:iend]) 2724 if pointfreq0[0:7] == 'runmean': 2725 Nstps = int(pointfreq0.split(',')[1]) 2726 varvalues.append(gen.runmean(vvobj[ibeg:iend], Nstps)) 2727 else: 2728 varvalues.append(vvobj[ibeg:iend]) 2724 2729 dimvalues.append(reftvals[ibeg:iend]) 2725 2730 mindvals = np.min(reftvals[ibeg:iend]) … … 2774 2779 legvals = None 2775 2780 2776 if pointfreq0 == 'all' :2781 if pointfreq0 == 'all' or pointfreq0[0:7] == 'runmean': 2777 2782 pointfreq = None 2778 2783 else:
Note: See TracChangeset
for help on using the changeset viewer.