import math
import matplotlib.pyplot as plt
import numpy as np
fig, ax = plt.subplots(figsize=(5.6, 5.4))
for r2 in (0.1, 0.5, 0.82, 1.5):
t = np.linspace(0, 2 * np.pi, 300)
ax.plot(math.sqrt(r2) * np.cos(t), math.sqrt(r2) * np.sin(t), color="lightgray", lw=1)
ax.plot([-0.6, 1.6], [1.6, -0.6], color="tab:orange", lw=2)
for (px, py), color in (((0.5, 0.5), "tab:red"), ((0.9, 0.1), "black")):
ax.plot(px, py, "o", color=color, ms=8, zorder=4)
ax.annotate("", xy=(px + 0.3 * 2 * px, py + 0.3 * 2 * py), xytext=(px, py),
arrowprops=dict(arrowstyle="->", color="tab:blue", lw=4, alpha=0.6))
ax.annotate("", xy=(px + 0.15, py + 0.15), xytext=(px, py),
arrowprops=dict(arrowstyle="->", color="tab:orange", lw=2))
ax.text(0.62, -0.02, "(0.9, 0.1)", fontsize=10, va="top")
ax.text(0.12, 0.52, "(0.5, 0.5)", fontsize=10, color="tab:red")
ax.set_xlim(-0.4, 1.6)
ax.set_ylim(-0.4, 1.4)
ax.set_aspect("equal")
ax.set_xlabel(r"$x$")
ax.set_ylabel(r"$y$")
ax.grid(alpha=0.3)
plt.tight_layout()
plt.show()