df = pd.read_csv('./utm.csv')
fig = plt.figure()
left, bottom, width, height = 1,1,2,2
ax1 = fig.add_axes([left,bottom,width,height])
ax1.scatter(327861.809235, 4407594, c = 'k', s = 20, marker = '+',label = 'unchosen sources ')
ax1.annotate('T121', xy = (327861.809235, 4407594),
xytext = (327861.809235-10, 4407594+3) )
ax1.scatter(327861.809235, 4407594, c = 'r', s = 60, label = 'chosen sources ')
ax1.annotate('T121', xy = (327861.809235, 4407594),
xytext = (327861.809235-10, 4407594+3) )
ax1.scatter(327900.124260, 4407645, c = 'r', s = 60)
ax1.annotate('T122', xy = (327900.124260, 4407645),
xytext = (327900.124260-10, 4407645+3) )
ax1.scatter(327889.730855,4407309, c = 'r', s = 60)
ax1.annotate('T199', xy = (327889.730855,4407309),
xytext = (327889.730855-10,4407309+3) )
ax1.scatter(327849.865557,4407336, c = 'r', s = 60)
ax1.annotate('T200', xy = (327849.865557,4407336),
xytext = (327849.8655575,4407336+5) )
ax1.scatter(327961.54, 4407554.94, c = 'b', s = 60, label = 'well')
ax1.annotate('Well', xy = (327961.54, 4407554.94),
xytext = (327961.54-10, 4407554.94+3) )
ax1.set_aspect('equal')
legend = ax1.legend(loc='upper right', shadow=None, fontsize='x-large')
legend.get_frame().set_facecolor('C0')
ax1.set_xlabel("UTM Easting (m)")
ax1.set_xlim([327800,328050])
ax1.set_ylabel("UTM Northing (m)")
# left, bottom, width, height = 0.6,0.2,0.25,0.25
# plt.axes([left,bottom,width,height])
# plt.plot(y[::-1],x,'b')
# plt.xlabel('x')
# plt.ylabel('y')
# plt.title('tile inside2')
left, bottom, width, height = 1.76,1.3,1,0.6
plt.axes([left,bottom,width,height])
# # ax2 = fig.add_axes([left,bottom,width,height])
for i in range(len(df)):
plt.scatter(df['easting'][i], df['northing'][i], marker = '+', c = 'k', s = 20)
plt.scatter(327861.809235, 4407594, c = 'r', s = 40, label = 'unchosen sources')
plt.scatter(327900.124260, 4407645, c = 'r', s = 40)
plt.scatter(327889.730855,4407309, c = 'r', s = 40)
plt.scatter(327849.865557,4407336, c = 'r', s = 40)
plt.scatter(327961.54, 4407554.94, c = 'b', s = 40, label = 'well')
# legend = plt.legend(loc='upper left', shadow=None, fontsize='medium')
# legend.get_frame().set_facecolor('C0')
# ax2.set_xticklabels(labels=x, rotation=90)
for tick in plt.gca().get_xticklabels():
tick.set_rotation(90)
plt.gca().set_aspect('equal')
# plt.xticks([])
plt.xticks(fontproperties = 'Times New Roman' ,rotation = 90)
# plt.set_yticks([])
plt.xticks()
plt.gcf()
# plt.title('test')
plt.savefig('Map.png', bbox_inches='tight', dpi = 300)
Map.png