draw_circle

lenstest.lenstest.draw_circle(R, X0=0, Y0=0, color='black')[source]

Draw a circle.

If the circle that is plotted should be round, then plt.gca().set_aspect(‘equal’) so aspect ratio on both axes is equal.

Parameters:
  • R – radius of circle

  • X0 – x-value of center of circle

  • Y0 – y-value of center of circle

  • color – color of the circle

Returns:

X, Y – arrays of test points