graphinglib.FitFromSquareRoot.create_intersection_points#
- FitFromSquareRoot.create_intersection_points(other: Self, labels: list[str] | str | None = None, face_colors: list[str] | str | Inherit = Inherit, edge_colors: list[str] | str | Inherit = Inherit, marker_sizes: list[float] | float | Inherit = Inherit, marker_styles: list[str] | str | Inherit = Inherit, edge_widths: list[float] | float | Inherit = Inherit, alphas: list[float] | float | Inherit = Inherit) list[Point]#
Creates the intersection Points between two curves.
- Parameters:
- other
Curve The other curve to calculate the intersections with.
- as_point_objectsbool
Whether to return a list of
Pointobjects (True) or a list of tuples of coordinates (False). Defaults to False.- labelslist[str] or str, optional
Labels of the intersection points to be displayed in the legend. If a single string is passed, all intersection points will have the same label.
- face_colorslist[str] or str
Face colors of the intersection points. If a single string is passed, all intersection points will have the same color. Default depends on the
figure_styleconfiguration.- edge_colorslist[str] or str
Edge colors of the intersection points. If a single string is passed, all intersection points will have the same color. Default depends on the
figure_styleconfiguration.- marker_sizeslist[float] or float
Sizes of the intersection points. If a single float is passed, all intersection points will have the same size. Typical range is
10to100. Default depends on thefigure_styleconfiguration.- marker_styleslist[str] or str
Styles of the intersection points. If a single string is passed, all intersection points will have the same style. Common values include
".",",","o","v","^","<",">","s","p","*","h","H","+","x","D","d","|","_","P","X","None"," ", and"". Default depends on thefigure_styleconfiguration.- edge_widthslist[float] or float
Widths of the intersection points. If a single float is passed, all intersection points will have the same width. Typical range is
0to3points. Default depends on thefigure_styleconfiguration.- alphaslist[float] or float
Opacities of the intersection points. If a single float is passed, all intersection points will have the same opacity. Range is
0(transparent) to1(opaque). Default depends on thefigure_styleconfiguration.
- other
- Returns:
Notes
Color parameters accept Matplotlib color formats: named colors (
"blue"), short color strings ("b"), hex strings ("#0000ff"), grayscale strings ("0.5"), and RGB/RGBA tuples with values between0and1((0, 0, 1)or(0, 0, 1, 0.5)).