Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #16295
| From | amannucci <Anthony.J.Mannucci@jpl.nasa.gov> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Contour plots of lat/lon data |
| Date | 2013-12-01 13:15 +0000 |
| Message-ID | <l7fcpd$k4c$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
I am interested in using Mathematica to plot functions of latitude/longitude (e.g. on Earth). I am thinking of ContourPlot type of functionality, but with latitude/longitude coordinates. I am familiar how this is done in matplotlib/python. It works like this: One initializes the map projection thus: m = Basemap(projection='npaeqd',boundinglat=10,lon_0=270,resolution ='l') This projection is "North Polar Azimuthal Equidistant Projection". Then, given an array of data in lat, lon coordinates z(lat,lon), one converts to projection coordinates thus: x,y = m(lon,lat) And then executes the contour method of the map projection object: m.contourf(x,y,z) Is there a polar projection in Mathematica? I cannot find one. If not, I can probably get reasonably close with the existing set of projections. More broadly, I don't see how to create a geographically registered contour map in Mathematica. Is there a function that plots contour data taking into account a map projection that is already defined? I cannot find any examples of contour plotting on a user-specified geographic projection. Does one manually convert all the coordinates and then use ContourPlot? Thanks for your help! -Tony
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Contour plots of lat/lon data amannucci <Anthony.J.Mannucci@jpl.nasa.gov> - 2013-12-01 13:15 +0000
csiph-web