如果下面有此图,如何在(0,0)旁边添加坐标(29.05,-93.68)?所以我想在坐标(0,0)和左下角添加坐标。我尝试过:
import matplotlib.axes as axes
axes.Axes.set_xlim(left=-93.86,right=None)
axes.Axes.set_ylim(bottom=-29.05,top=None)
答案 0 :(得分:0)
尝试一下:
import matplotlib.pyplot as as plt
fig, ax = plt.subplots()
ax.set_xlim(-93.86, 22.5)
ax.set_ylim(-29.05, 20)