GeoSmoothHistogram

GeoSmoothHistogram[locs]

plots a smooth kernel histogram of the geo locations locs.

GeoSmoothHistogram[locs,espec]

plots a smooth kernel histogram with estimator specification espec.

GeoSmoothHistogram[locs,espec,dfun]

plots the distribution function dfun.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Generate an intensity plot for a list of geographic points:

Use a smaller bandwidth to reduce the smoothing of the intensity:

Scope  (23)

Data  (11)

Use a GeoPosition representing a list of locations:

Use a list of GeoPosition locations:

Use entities to represent locations:

Create an intensity plot from the EntityClass containing skyscrapers around the world:

Use an Association with locations for keys and values for counts:

Use WeightedData:

GeoRange is selected automatically:

Use GeoRange to focus on geographic areas of interest:

Nonreal data points are ignored:

Specify the number of points to use:

Plot an intensity plot of a list of locations:

Plot an intensity plot of locations with weights:

Bandwidth and Kernel  (7)

Specify a single bandwidth for bivariate data:

Allow bivariate bandwidths to vary adaptively with local density:

Use the local sensitivity from (small) to (large):

Use any of several automatic bandwidth selection methods:

Silverman's method is used by default for bandwidth selection:

The PDFs are equivalent:

Use different bandwidth specifications in each dimension:

Specify any one of several kernel functions:

Define the kernel function as a pure function:

Presentation  (5)

Add labels:

Color the surface by height:

Create an overlay mesh:

Style the overlay mesh:

Show a legend matching the colors to their values:

Show the plot on a relief map:

Use a satellite map:

Options  (31)

BoundaryStyle  (2)

Use a red boundary around the edges of the surface:

BoundaryStyle applies to regions cut by RegionFunction:

ColorFunction  (4)

By default, regions with a lower density of points are colored lighter:

Specify the color function from a coloring scheme:

Specify a specific color function:

Use ColorFunctionScaling->False to get unscaled height values:

Use opacity to show relative densities:

ColorFunctionScaling  (1)

Use ColorFunctionScaling->False to get unscaled height values:

GeoBackground  (3)

By default, geo intensity plots are shown on an unlabeled map:

Show the intensity plot on a labeled map:

Show the plot on a satellite map:

GeoCenter  (1)

Center the plot at specific entity coordinates:

Center the plot at specific coordinates:

GeoGridLines  (1)

Overlay a map with geo grid lines using the default styling:

Draw geo grid lines at specific lines of latitude and longitude:

Draw geo grid lines at specific lines of latitude:

Draw geo grid lines at specific lines of longitude:

Specify the target number of geo grid lines:

Specify different numbers of latitude and longitude geo grid lines:

Draw geo grid lines as multiples of a given angle:

GeoGridLinesStyle  (1)

Specify the overall geo grid line style:

GeoModel  (2)

Use the default (ellipsoidal) model of the Earth:

Use the Moon as reference model:

GeoProjection  (1)

Use GeoProjection to change the map projection:

GeoRange  (1)

The geographic region to show is automatically determined:

Specify the region to show:

Specify the corners of the geo range:

GeoRangePadding  (1)

Use GeoRangePadding->None to remove padding:

Use 250 kilometers of padding on each side of the map:

Specify padding for latitude only:

Specify different padding on each side of the map:

Pad inward on each side:

GeoScaleBar  (1)

Show the plot with a scale bar in metric units:

Show the plot with a scale bar in metric and imperial units:

Place the scale bar in the top-right corner:

GeoServer  (1)

Use the Wolfram geo server to download map tiles:

Use an alternative geo server:

Specify explicitly some of the parameters of the tile server:

GeoZoomLevel  (1)

Explicitly specify GeoZoomLevel to obtain a lower-resolution map rendering:

Explicitly specify GeoZoomLevel to obtain a higher-resolution map rendering:

LightingAngle  (1)

By default, the simulated lighting is placed at , or the top-left corner, with altitude :

Place the light source at , or the left of the map:

Place the light source at , or the right side of the map, with altitude:

Mesh  (1)

GeoSmoothHistogram does not show a mesh by default:

Use 5 mesh lines in the direction:

Use 3 mesh lines in the direction and 6 mesh lines in the direction:

Show the complete sampling mesh:

MeshFunctions  (1)

Use the value as the mesh function:

Use mesh lines in the and directions:

Use mesh lines corresponding to fixed distances from the mean:

MeshStyle  (1)

Use red mesh lines:

OpacityFunction  (1)

The Automatic setting creates a custom transparency in the smooth histogram over the map:

Use None to get a fully opaque visualization:

Set opacity as a function of the scaled function value f:

Show the opacity at the plot legends:

PlotLegends  (1)

Show a legend matching the colors to their values:

Position the legend below the map:

PlotPoints  (1)

Use more initial points to get a smoother plot:

PlotTheme  (1)

Use a theme with simple ticks and grid lines in a bright color scheme:

Change the color scheme:

RegionFunction  (2)

Limit the histogram to a region corresponding to an entity:

Use a function to limit the histogram according to the latitude:

Applications  (4)

Generate an intensity plot of the heights of notable buildings in New York City:

Show the intensity of the distribution of breweries in the United States:

Map the distribution of trees in Champaign, IL:

Map a smooth histogram of the last 1000 registered meteorite landings in the world:

Properties & Relations  (9)

Use SmoothDensityHistogram and SmoothHistogram3D for general data:

Use GeoListPlot for individual locations:

Use GeoBubbleChart to show values with scaled bubbles:

Use GeoRegionValuePlot to show values with colored regions:

Use GeoHistogram to aggregate locations into bins:

Use GeoVectorPlot and GeoStreamPlot for vector fields:

Draw contours on a map with GeoContourPlot:

Smoothly shade a map using color with GeoDensityPlot:

Plot relationships between geographic locations on a map:

Wolfram Research (2018), GeoSmoothHistogram, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html (updated 2019).

Text

Wolfram Research (2018), GeoSmoothHistogram, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html (updated 2019).

CMS

Wolfram Language. 2018. "GeoSmoothHistogram." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html.

APA

Wolfram Language. (2018). GeoSmoothHistogram. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html

BibTeX

@misc{reference.wolfram_2023_geosmoothhistogram, author="Wolfram Research", title="{GeoSmoothHistogram}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_geosmoothhistogram, organization={Wolfram Research}, title={GeoSmoothHistogram}, year={2019}, url={https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html}, note=[Accessed: 19-March-2024 ]}