Changeset 5ed9133
- Timestamp:
- Aug 2, 2006, 4:48:20 PM (18 years ago)
- 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:
- 32fa8e8
- Parents:
- e5cc1ea
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/aubio/gnuplot.py
re5cc1ea r5ed9133 168 168 return Gnuplot.Data(x,y,with='lines') 169 169 170 def gnuplot_init(outplot,debug=0,persist=1):171 # prepare the plot172 import Gnuplot173 g = Gnuplot.Gnuplot(debug=debug, persist=persist)174 if outplot == 'stdout':175 g("set terminal png fontfile 'p052023l.pfb'")176 #g('set output \'%s\'' % outplot)177 elif outplot:178 extension = outplot.split('.')[-1]179 if extension == 'ps': extension = 'postscript'180 g('set terminal %s' % extension)181 g('set output \'%s\'' % outplot)182 return g183 184 170 def gnuplot_create(outplot='',extension='',debug=0,persist=1, xsize=1., ysize=1.): 185 171 import Gnuplot
Note: See TracChangeset
for help on using the changeset viewer.