Home
last modified time | relevance | path

Searched refs:y (Results 1 – 3 of 3) sorted by relevance

/littlefs-latest/scripts/
Dplot.py294 def scale(self, x, y): argument
306 y = int(self.height * (
307 (symlog(y)-symlog(self.ylim[0]))
310 y = int(self.height * (
311 (y-self.ylim[0])
315 y = 0
316 return x, y
318 def point(self, x, y, *, argument
322 x, y = self.scale(x, y)
325 if x >= 0 and x < self.width and y >= 0 and y < self.height:
[all …]
Dplotmpl.py215 def dataset(results, x=None, y=None, define=[]): argument
237 if y is not None:
238 if y not in r:
241 y_ = dat(r[y])
254 def datasets(results, by=None, x=None, y=None, define=[]): argument
263 if y is None:
264 y = co.OrderedDict()
270 y[k] = True
272 y[k] = False
273 y = list(k for k,v in y.items() if v)
[all …]
Dtracebd.py132 def hilbert_(x, y, a_x, a_y, b_x, b_y): argument
143 yield (x,y)
144 x, y = x+a_dx, y+a_dy
150 yield (x,y)
151 x, y = x+b_dx, y+b_dy
165 yield from hilbert_(x, y, a_x_, a_y_, b_x, b_y)
166 yield from hilbert_(x+a_x_, y+a_y_, a_x-a_x_, a_y-a_y_, b_x, b_y)
173 yield from hilbert_(x, y, b_x_, b_y_, a_x_, a_y_)
174 yield from hilbert_(x+b_x_, y+b_y_, a_x, a_y, b_x-b_x_, b_y-b_y_)
176 x+(a_x-a_dx)+(b_x_-b_dx), y+(a_y-a_dy)+(b_y_-b_dy),
[all …]