from shapely.geometry import *
from geopandas import *
import numpy as np
import matplotlib.pyplot as plt
xmin, xmax, ymin, ymax = 900000, 1080000, 120000, 280000
xc = (xmax - xmin) * np.random.random(2000) + xmin
yc = (ymax - ymin) * np.random.random(2000) + ymin
#构造点几何对象
pts = GeoSeries([Point(x, y) for x, y in zip(xc, yc)])
pts.plot()
#x刻度数值旋转90°
plt.xticks(rotation=90)
plt.show()