TODO
In [ ]:
%matplotlib inline
import numpy as np
import matplotlib.pyplot as plt
In [ ]:
fig, (ax1, ax2, ax3) = plt.subplots(ncols=3, figsize=(12, 4))
x = np.linspace(-10, 10, 100)
y1 = x**2
y2 = -x**2
y3 = x**3
ax1.plot(x, y1, "-k", alpha=0.5)
ax1.plot([0], [0], "or")
ax1.set_ylim(bottom=-100)
ax1.axhline(0, color="r")
ax1.set_axis_off()
ax2.plot(x, y2, "-k", alpha=0.5)
ax2.plot([0], [0], "or")
ax2.set_ylim(top=100)
ax2.axhline(0, color="r")
ax2.set_axis_off()
ax3.plot(x, y3, "-k", alpha=0.5)
ax3.plot([0], [0], "or")
ax3.axhline(0, color="r")
ax3.set_axis_off()
plt.show()
In [ ]: