def plotPoints(points, style='bo', alpha=1, linewidth=2, label=""):
    if not type(points) == list:
        points = [points]

    points = spatial.toNumpy(points)
    plt.plot(points[:, 0], points[:, 1], style, alpha=alpha, linewidth=linewidth, label=label)
Example #2
0
def plotPoints(points, style='bo'):
    if not type(points) == list:
        points = [points]

    points = spatial.toNumpy(points)
    plt.plot(points[:, 0], points[:, 1], style)