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.
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
- GeoSmoothHistogram is also known as geo intensity and kernel density.
- GeoSmoothHistogram effectively puts a small bump over each location and sums the heights so that there is a greater overall height where the distribution of locations is denser.
- The location locs has the following forms and interpretations:
-
{loc1,loc2,…} list of locations<|loc1w1,…|> locations with weights
- The locations loci have the following forms:
-
- The estimator specification espec can be of the form bw or {bw,kernel}.
- The specifications for bandwidth bw and kernel are the same as for SmoothKernelDistribution .
- The default distribution function dfun is "Intensity".
- The possible settings for dfun are the same as in SmoothHistogram .
- GeoSmoothHistogram has the same options as GeoGraphics with the following additions and changes: [List of all options]
-
- ColorFunction and OpacityFunction are supplied with a single argument, given by default by the scaled value of the intensity f.
- Typical settings for OpacityFunction include:
-
Automatic automatically determinedNone no opacity function, fully opaqueα constant opacity Opacity [α]func general opacity function
- The arguments supplied to RegionFunction are x, y and f, where f is the intensity.
- The value of region in RegionFunction region can be an entity or geo polygon over which to plot.
- With the setting MeshShading Automatic , the colors between mesh lines are computed from the ColorFunction setting.
-
ImageMargins 0. the margins to leave around the graphicPreserveImageOptions Automatic whether to preserve image options when displaying new versions of the same graphic
List of all options
Examples
open all close allBasic 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 (57)
AspectRatio (4)
By default, the ratio of the height to width for the plot is determined automatically:
Make the height the same as the width with AspectRatio 1:
Use numerical value to specify the height-to-width ratio:
AspectRatio Full adjusts the height and width to tightly fit inside other constructs:
Axes (3)
AxesLabel (3)
No axes labels are drawn by default:
Place a label on the axis:
Specify axes labels:
AxesOrigin (2)
The position of the axes is determined automatically:
Specify an explicit origin for the axes:
AxesStyle (4)
Change the style for the axes:
Specify the style of each axis:
Use different styles for the ticks and the axes:
Use different styles for the labels and the axes:
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:
Frame (4)
GeoSmoothHistogram does not use a frame by default:
Use Frame True to draw a frame around the plot:
Draw a frame on the left and right edges:
Draw a frame on the left and bottom edges:
FrameLabel (4)
Place a label along the bottom frame of a plot:
Frame labels are placed on the bottom and left frame edges by default:
Place labels on each of the edges in the frame:
Use a customized style for both labels and frame tick labels:
FrameStyle (2)
Specify the style of the frame:
Specify the style for each frame edge:
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)
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:
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_2025_geosmoothhistogram, author="Wolfram Research", title="{GeoSmoothHistogram}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html}", note=[Accessed: 17-November-2025]}
BibLaTeX
@online{reference.wolfram_2025_geosmoothhistogram, organization={Wolfram Research}, title={GeoSmoothHistogram}, year={2019}, url={https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html}, note=[Accessed: 17-November-2025]}