Lines Matching refs:low
1632 Curve(f, low, high, loop, attribute=value)
1636 low, high required left and right endpoints
1647 return "<Curve %s [%s, %s] %s>" % (self.f, self.low, self.high, self.attr)
1649 def __init__(self, f, low, high, loop=False, **attr):
1651 self.low = low
1724 if not (self.low < self.high):
1725 raise ValueError, "low must be less than high"
1726 low, high = self.Sample(float(self.low)), self.Sample(float(self.high))
1727 low.link(None, high)
1728 high.link(low, None)
1730 low.evaluate(self.f, trans)
1733 # adaptive sampling between the low and high points
1734 self.subsample(low, high, 0, trans)
1737 left = low
1758 self.last_samples = self.Samples(low, high)
2244 self.low = 0.
2428 self.low = 0.
2493 self.low = -math.pi
2548 Ticks(f, low, high, ticks, miniticks, labels, logbase, arrow_start,
2554 low, high required range of the independent variable
2564 at the low-end of the axis, referenced by
2614 self.f, self.low, self.high, str(self.ticks), str(self.labels), self.attr)
2616 def __init__(self, f, low, high, ticks=-10, miniticks=True, labels=True, logbase=None,
2619 self.low = low
2647 eps = _epsilon * abs(self.high - self.low)
2696 eps = _epsilon * (self.high - self.low)
2701 if ((not self.arrow_start or abs(t - self.low) > eps) and
2731 if ((not self.arrow_start or abs(t - self.low) > eps) and
2804 eps = _epsilon * (self.high - self.low)
2843 if self.low >= self.high:
2844 raise ValueError, "low must be less than high"
2848 low)
2852 x = self.low
2859 x += (self.high - self.low)/(N-1.)
2865 granularity = 10**math.ceil(math.log10(max(abs(self.low), abs(self.high))))
2866 lowN = math.ceil(1.*self.low / granularity)
2878 lowN = math.ceil(1.*self.low / granularity)
2896 v1, v2 = self.low, self.high
2901 if 1.*abs(t - self.low)/last_granularity < _epsilon:
2906 lowN = 1.*self.low / last_granularity
2909 last_trial[self.low] = format(self.low)
2925 lowN = math.ceil(1.*self.low / granularity)
2934 x = self.low
2937 x += (self.high - self.low)/(N-1.)
2946 original_ticks = ticks(self.low, self.high) # XXX ticks is undefined!
2950 if self.low > original_ticks[0] + _epsilon or self.high < original_ticks[-1] - _epsilon:
2951 raise ValueError, "original_ticks {%g...%g} extend beyond [%g, %g]" % (original_ticks[0], original_ticks[-1], self.low, self.high)
2959 x = original_ticks[0] - math.ceil(1.*(original_ticks[0] - self.low) / spacing) * spacing
2962 if x >= self.low:
2965 if abs(x-t) < _epsilon * (self.high - self.low):
2977 if self.low >= self.high:
2978 raise ValueError, "low must be less than high"
2982 eps = _epsilon * (self.high - self.low)
2986 x = self.low
2993 x += (self.high - self.low)/(N-1.)
2998 lowN = math.floor(math.log(self.low, base))
3004 if self.low <= x <= self.high:
3034 if self.low >= self.high:
3035 raise ValueError, "low must be less than high"
3037 lowN = math.floor(math.log(self.low, base))
3043 if self.low <= x <= self.high:
3047 if self.low <= minix <= self.high:
3060 CurveAxis(f, low, high, ticks, miniticks, labels, logbase, arrow_start, arrow_end,
3065 low, high required left and right endpoints
3076 arrow at the low-end of the axis,
3091 self.f, self.low, self.high, str(self.ticks), str(self.labels), self.attr)
3093 def __init__(self, f, low, high, ticks=-10, miniticks=True, labels=True, logbase=None,
3097 Curve.__init__(self, f, low, high)
3098 Ticks.__init__(self, f, low, high, ticks, miniticks, labels, logbase, arrow_start, arrow_end, tattr, **attr)
3139 at the low-end of the axis, referenced by
3169 raise TypeError, "exclude must either be None or (low, high)"
3186 line = Line.SVG(self, trans) # must be evaluated first, to set self.f, self.low, self.high
3190 self.low = self.start
3227 at the low-end of the axis, referenced by
3234 exclude default=None if a (low, high) pair, don't draw text
3282 at the low-end of the axis, referenced by
3289 exclude default=None if a (low, high) pair, don't draw text
3413 HGrid(xmin, xmax, low, high, ticks, miniticks, logbase, mini_attr, attribute=value)
3416 low, high required the y range
3432 self.xmin, self.xmax, self.low, self.high, str(self.ticks), str(self.miniticks), self.attr)
3434 def __init__(self, xmin, xmax, low, high, ticks=-10, miniticks=False, logbase=None, mini_attr={}, **attr):
3440 Ticks.__init__(self, None, low, high, ticks, miniticks, None, logbase)
3465 HGrid(ymin, ymax, low, high, ticks, miniticks, logbase, mini_attr, attribute=value)
3468 low, high required the x range
3484 self.ymin, self.ymax, self.low, self.high, str(self.ticks), str(self.miniticks), self.attr)
3486 def __init__(self, ymin, ymax, low, high, ticks=-10, miniticks=False, logbase=None, mini_attr={}, **attr):
3492 Ticks.__init__(self, None, low, high, ticks, miniticks, None, logbase)
3551 self.low, self.high = self.xmin, self.xmax
3553 self.low, self.high = self.ymin, self.ymax