Ignore:
Timestamp:
Sep 26, 2009, 1:42:52 AM (15 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
634d238
Parents:
55ed67a
Message:

python/aubio: use Gnuplot.Data with_ keywords, with is a reserved keyword in python 2.6 (debian #512622)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubioplot-yinfft

    r55ed67a r5f23f66  
    7474  thresh = [0.1 for i in range(params.bufsize/2)]
    7575  #t.append((i/float(params.hopsize)+taskfile.frameread)*params.step),t.pop(0)
    76   d = [plotdata(n,a,plottitle="signal", with='lines'),
    77     plotdata(n,c,plottitle="d[t]",axes='x1y2', with='lines lt 1'),
    78     plotdata(n,y,plottitle="d'[t]",axes='x1y1', with='lines lt 2'),
    79     plotdata(n,thresh,plottitle="threshold",axes='x1y1', with='lines lt 3')]
     76  d = [plotdata(n,a,plottitle="signal", with_='lines'),
     77    plotdata(n,c,plottitle="d[t]",axes='x1y2', with_='lines lt 1'),
     78    plotdata(n,y,plottitle="d'[t]",axes='x1y1', with_='lines lt 2'),
     79    plotdata(n,thresh,plottitle="threshold",axes='x1y1', with_='lines lt 3')]
    8080  #g('set xrange [%f:%f]' % (t[0],t[-1]))
    8181  #time.sleep(.2)
Note: See TracChangeset for help on using the changeset viewer.