Wolfram Language

Units & Dates

Visualize Geomagnetic Data

Use quantities and arrays of them anywhere in the visualization functionality.

Get a quantity array of values for the magnitude of the Earth's magnetic field over Kazakhstan.

Click for copyable input
data = GeomagneticModelData[Entity["Country", "Kazakhstan"], "Magnitude"]

Examine the variation of the field over that region.

show complete Wolfram Language input
Click for copyable input
contour = ListContourPlot[data, Frame -> False, PlotRangePadding -> 0, ColorFunction -> "BlueGreenYellow"]; Legended[GeoGraphics[{GeoStyling[{"GeoImage", contour}, Opacity[0.8]], Polygon[Entity["Country", "Kazakhstan"]]}, GeoRange -> Quantity[800, "Miles"], ImageSize -> 420], BarLegend[{"BlueGreenYellow", MinMax@Flatten[QuantityMagnitude@data]}]]

Related Examples

de es fr ja ko pt-br ru zh