0

I've done some plots using pythons basemap. I want to provide some additional information to my plots, by adding the latitude and longitude as axes around my geographical plot. Preferably with tick marks thats pretty accurate. Just as a normal map.

Is this possible?

This is my plotting code:

map = Basemap(
projection="merc",
resolution = 'h', area_thresh = 0.001,
llcrnrlon=bottomlong, llcrnrlat=bottomlat,
urcrnrlon=toplong, urcrnrlat=toplat)
map.drawcoastlines(color='black')
plt.show()

1 Answer 1

1

Try map.drawmeridians(meridians, ...) for lines of longitude, and map.drawparallels(circles, ...) for lines of latitude.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.