# axes1.py
import numpy as np
import matplotlib.pyplot as plt

X = np.linspace(-np.pi, np.pi, 256)
C = np.cos(X)
S = np.sin(X)

ax1 = plt.axes([0.1, 0.1, 0.8, 0.8])
plt.plot(X,S)
ax2 = plt.axes([0.2, 0.6, 0.3, 0.3])
plt.plot(X,C)

plt.savefig("axes1.png", dpi=72)
plt.show()

9e11a78ff64b0ba430e37dde5d714cc3b0e53150
<mask token>

<mask token>
plt.plot(X, S)
<mask token>
plt.plot(X, C)
plt.savefig('axes1.png', dpi=72)
plt.show()

<mask token>
X = np.linspace(-np.pi, np.pi, 256)
C = np.cos(X)
S = np.sin(X)
ax1 = plt.axes([0.1, 0.1, 0.8, 0.8])
plt.plot(X, S)
ax2 = plt.axes([0.2, 0.6, 0.3, 0.3])
plt.plot(X, C)
plt.savefig('axes1.png', dpi=72)
plt.show()

import numpy as np
import matplotlib.pyplot as plt
X = np.linspace(-np.pi, np.pi, 256)
C = np.cos(X)
S = np.sin(X)
ax1 = plt.axes([0.1, 0.1, 0.8, 0.8])
plt.plot(X, S)
ax2 = plt.axes([0.2, 0.6, 0.3, 0.3])
plt.plot(X, C)
plt.savefig('axes1.png', dpi=72)
plt.show()

# axes1.py
import numpy as np
import matplotlib.pyplot as plt

X = np.linspace(-np.pi, np.pi, 256)
C = np.cos(X)
S = np.sin(X)

ax1 = plt.axes([0.1, 0.1, 0.8, 0.8])
plt.plot(X,S)
ax2 = plt.axes([0.2, 0.6, 0.3, 0.3])
plt.plot(X,C)

plt.savefig("axes1.png", dpi=72)
plt.show()
