History

remove obsolete gnuplot_init remove obsolete gnuplot_init

Paul Brossier committed 20 years ago

Commit 5ed91331 parent e5cc1ea1 file · +0 −14Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/aubio/gnuplot.py+0−14
@@ -167,20 +167,6 @@ def make_audio_plot(time,data,maxpoints=10000): · 166 unmodified lines
167167 y = numarray.array(data).resize(length)[0:-1:downsample]
168168 return Gnuplot.Data(x,y,with='lines')
169169
170−def gnuplot_init(outplot,debug=0,persist=1):
171− # prepare the plot
172− import Gnuplot
173− 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 g
183−
184170 def gnuplot_create(outplot='',extension='',debug=0,persist=1, xsize=1., ysize=1.):
185171 import Gnuplot
186172 g = Gnuplot.Gnuplot(debug=debug, persist=persist)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t