November 2018
Beginner to intermediate
214 pages
5h 2m
English
We can see, from the preceding map, that we have Europe in the middle. We will plot some data points and some curves with lines all over Europe. We will begin by putting down a cross or a point. So the latitude and longitude of Heidelberg is 8.7 degrees east and 49.5 degrees north.
We will start with the scatter method. So the scatter behaves just like we are used to it behaving from the standard Cartesian Euclidean projections. Input the code as follows:
# Projecting with and without latlonm = Basemap(width=1.2e7,height=9e6,projection='lcc', lat_1=.45,lat_2=.55,lat_0=49.5,lon_0=8.7)setup_map(m)HD = (8.7, 49.5)plt.show()
We will get the output as shown:
There is actually another way of plotting ...
Read now
Unlock full access