def __init__(self, plot, function, vecs_per_unit=1, color_style=preset_styles["default"], z_start=-4, z_stop=4): Plottable.__init__(self, plot, function, color_style) self.z_start, self.z_stop = z_start, z_stop self.vecs_per_unit = vecs_per_unit self.step = 1 / vecs_per_unit
def __init__(self, plot, function, seed_value, color_style=preset_styles["default"], unit_scale=1, line_weight=1): Plottable.__init__(self, plot, function, color_style) self.seed_value = seed_value self.step = unit_scale self.color = self.color_style.settings["color"] self.line_weight = line_weight
def __init__(self, plot, function, t_start=-5, t_stop=5, color_style=preset_styles["default"], line_weight=1, t_step=0.1): Plottable.__init__(self, plot, function, color_style=color_style) self.t_start, self.t_stop, self.t_step = t_start, t_stop, t_step self.line_color, self.line_weight = self.color_style.settings[ "color"], line_weight
def __init__(self, plot, function, color_style=preset_styles["default"], theta_start=-pi, theta_stop=pi, step=0.1, line_weight=1): Plottable.__init__(self, plot, function, color_style) self.color = color_style.settings["color"] self.theta_start, self.theta_stop = theta_start, theta_stop self.step = 0.1 self.line_weight = line_weight
def __init__(self, plot, function, color_style=preset_styles["default"], line_weight=1, squares_x=100, squares_y=100): Plottable.__init__(self, plot, function, color_style) self.color, self.line_weight, = color_style.settings[ "color"], line_weight self.squares_x, self.squares_y = squares_x, squares_y self.x_step, self.y_step = self.plot.units_x / squares_x, self.plot.units_y / squares_y self.segments = [] self.march_squares()
def __init__(self, plot, function, real_anchors=32, imag_anchors=32, surf_on=True, mesh_on=True, mesh_weight=1, detection=False, detection_level=0.7, color_style=None): Plottable.__init__(self, plot, function, preset_styles["rainbow"]) self.real_anchors, self.imag_anchors = real_anchors, imag_anchors self.surf_on, self.mesh_on = surf_on, mesh_on self.mesh_color = (0, 0, 0) self.mesh_weight = mesh_weight self.detection, self.detection_level = detection, detection_level self.anchorize3D()
def __init__(self, plot, function, color_style=preset_styles["default"], u_start=-1, u_stop=1, v_start=-1, v_stop=1, u_anchors=32, v_anchors=32, mesh_on=True, surf_on=True, mesh_weight=1, mesh_color=(0, 0, 0)): Plottable.__init__(self, plot, function, color_style) self.u_start, self.u_stop = u_start, u_stop self.v_start, self.v_stop = v_start, v_stop self.mesh_on, self.surf_on = mesh_on, surf_on self.mesh_weight, self.mesh_color = mesh_weight, mesh_color self.anchorize3D(u_anchors, v_anchors, u_start, u_stop, v_start, v_stop)
def __init__(self, plot, function, color_style=preset_styles["default"]): Plottable.__init__(self, plot, function, color_style)