Searched refs:y1 (Results 1 – 2 of 2) sorted by relevance
/littlefs-latest/scripts/ |
D | plot.py | 328 def line(self, x1, y1, x2, y2, *, argument 332 x1, y1 = self.scale(x1, y1) 337 ey = -abs(y2 - y1) 339 dy = +1 if y1 < y2 else -1 343 if x1 >= 0 and x1 < self.width and y1 >= 0 and y1 < self.height: 344 self.grid[x1 + y1*self.width] = (color, char) 347 if x1 == x2 and y1 == y2: 354 if x1 == x2 and y1 == y2: 359 y1 += dy 370 for (x1, y1), (x2, y2) in zip(coords, coords[1:]): [all …]
|
D | plotmpl.py | 998 ymid = (grid[0,0].ax.get_position().y0 + grid[0,-1].ax.get_position().y1)/2
|