Did I find the right examples for you? yes no

All Samples(135)  |  Call(0)  |  Derive(0)  |  Import(135)

src/a/p/AppRecommender-HEAD/src/experiments/roc-sample.py   AppRecommender(Download)
import logging
import random
import Gnuplot
import numpy
import shutil

src/a/u/aubio-HEAD/python.old/aubio/bench/onset.py   aubio(Download)
	def plotroc(self,d,plottitle=""):
		import Gnuplot, Gnuplot.funcutils
		gd = []
		fp = []
		for i in self.vlist:
	def plotplotroc(self,d,outplot=0,extension='ps'):
		import Gnuplot, Gnuplot.funcutils
		from sys import exit
		g = Gnuplot.Gnuplot(debug=0, persist=1)
		if outplot:
	def plotpr(self,d,plottitle=""):
		import Gnuplot, Gnuplot.funcutils
		x = []
		y = []
		for i in self.vlist:
	def plotplotpr(self,d,outplot=0,extension='ps'):
		import Gnuplot, Gnuplot.funcutils
		from sys import exit
		g = Gnuplot.Gnuplot(debug=0, persist=1)
		if outplot:
	def plotfmeas(self,d,plottitle=""):
		import Gnuplot, Gnuplot.funcutils
		x,y = [],[]
		for i in self.vlist:
			x.append(i['thres']) 

src/a/u/aubio-HEAD/python.old/aubio/plot/notes.py   aubio(Download)
def plotnote_withends(la,plot_title=None) :
	from numpy import array
	import Gnuplot, Gnuplot.funcutils
	d=[]
	x_widths = array(la[:,1]-la[:,0])/2.
def plotnote_withoutends(la,plot_title=None) :
        """ bug: fails drawing last note """
	from numpy import array
	import Gnuplot, Gnuplot.funcutils
        d=[]
def plotnote_do(d,fileout=None):
    import Gnuplot, Gnuplot.funcutils
    g = Gnuplot.Gnuplot(debug=1, persist=1)
    g.gnuplot('set style fill solid border 1; \
    set size ratio 1/6; \

src/a/u/aubio-HEAD/python.old/aubio/gnuplot.py   aubio(Download)
def plot_spec(filename, g, options):
	import Gnuplot
	data,time,freq = audio_to_spec(filename,
    minf=options.minf,maxf=options.maxf,
    bufsize=options.bufsize,hopsize=options.hopsize)
def make_audio_plot(time,data,maxpoints=10000):
  """ create gnuplot plot from an audio file """
  import Gnuplot, Gnuplot.funcutils
  x,y = downsample_audio(time,data,maxpoints=maxpoints)
  return Gnuplot.Data(x,y,with_='lines')
 
def make_audio_envelope(time,data,maxpoints=10000):
  """ create gnuplot plot from an audio file """
  from numpy import array
  import Gnuplot, Gnuplot.funcutils
def gnuplot_create(outplot='',extension='', options=None):
  import Gnuplot
  if options:
    g = Gnuplot.Gnuplot(debug=options.debug, persist=options.persist)
  else:

src/a/u/aubio-HEAD/python.old/aubio/task/pitch.py   aubio(Download)
	def plot(self,pitch,wplot,oplots,titles,outplot=None):
		import Gnuplot
 
		time = [ (i+self.params.pitchdelay)*self.params.step for i in range(len(pitch)) ]
		pitch = [aubio_freqtomidi(i) for i in pitch]
	def plotplot(self,wplot,oplots,titles,outplot=None,extension=None,xsize=1.,ysize=1.,multiplot = 1, midi = 1, truth = 1):
		from aubio.gnuplot import gnuplot_create , audio_to_array, make_audio_plot
		import re
		import Gnuplot
 

src/a/u/aubio-HEAD/python.old/aubio/task/notes.py   aubio(Download)
	def plot(self,now,onset,freq,ifreq,oplots):
		import Gnuplot
 
		oplots.append(Gnuplot.Data(now,freq,with_='lines',
			title=self.params.pitchmode))
	def plotplot(self,wplot,oplots,outplot=None,multiplot = 0):
		from aubio.gnuplot import gnuplot_init, audio_to_array, make_audio_plot
		import re
		import Gnuplot
		# audio data

src/a/u/aubio-HEAD/python.old/aubio/task/beat.py   aubio(Download)
	def plot(self,oplots,results):
		import Gnuplot
		oplots.append(Gnuplot.Data(results,with_='linespoints',title="auto"))
 
	def plotplot(self,wplot,oplots,outplot=None,extension=None,xsize=1.,ysize=1.,spectro=False):
		import Gnuplot

src/a/u/aubio-HEAD/python.old/aubio/task/onset.py   aubio(Download)
	def plot(self,onsets,ofunc,wplot,oplots,nplot=False):
		import Gnuplot, Gnuplot.funcutils
		import aubio.txtfile
		import os.path
		from numpy import arange, array, ones
 
		if spectro:
			import Gnuplot
			minf = 50
			maxf = 500 

src/p/y/pySAXS-2.100.July2013/models/Triplet_Sphere.py   pySAXS(Download)
    modl=Triplet_Sphere()
    #plot the model
    import Gnuplot
    gp=Gnuplot.Gnuplot()
    gp("set logscale xy")

src/p/y/pySAXS-2.100.July2013/models/Trapez.py   pySAXS(Download)
    m=Trapez()
    m.Arg=[-3.2,5.3,1,6,0.5]
    import Gnuplot
    gp=Gnuplot.Gnuplot()
    c=Gnuplot.Data(m.q,m.getIntensity(),with_='points')

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next