PairwiseSmoothDensityHistogram

PairwiseSmoothDensityHistogram[{{y11,,y1n},,{ym1,,ymn}}]

creates an array of smooth density histograms by plotting the data columns against each other in pairs.

Details and Options

Examples

open allclose all

Basic Examples  (3)

Create an array of smooth density histograms from data with labeled columns:

Compare all columns in a dataset:

Provide header names for the data:

Scope  (3)

Data  (2)

Plot datasets:

Plot arrays of values:

Tabular Data  (1)

Get tabular data:

Create a pairwise array of smooth density histograms:

Use automatic legends:

Options  (19)

AspectRatio  (2)

By default, PairwiseSmoothDensityHistogram uses an equal height-to-width ratio:

Use a fixed height-to-width ratio:

ColorFunction  (3)

Color by scaled coordinate:

Specify gray-level intensity by scaled coordinate:

Use named color gradients:

GridLines  (2)

By default, PairwiseSmoothDensityHistogram does not draw gridlines:

Draw a grid on top of the plot:

HeaderBackground  (2)

By default, PairwiseSmoothDensityHistogram uses a white header background:

Set a header background color:

Headers  (3)

By default, PairwiseSmoothDensityHistogram does not label columns:

Number the columns for unlabeled data:

Provide header names for the columns:

PlotLabel  (1)

Add an overall label to the plot:

PlotLayout  (3)

Switch the orientation of the diagonal elements:

Show plots below the diagonal:

Only show plots above the diagonal:

PlotTheme  (2)

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

Change color scheme:

Spacings  (1)

Change the space between the plots:

Wolfram Research (2024), PairwiseSmoothDensityHistogram, Wolfram Language function, https://reference.wolfram.com/language/ref/PairwiseSmoothDensityHistogram.html (updated 2025).

Text

Wolfram Research (2024), PairwiseSmoothDensityHistogram, Wolfram Language function, https://reference.wolfram.com/language/ref/PairwiseSmoothDensityHistogram.html (updated 2025).

CMS

Wolfram Language. 2024. "PairwiseSmoothDensityHistogram." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/PairwiseSmoothDensityHistogram.html.

APA

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

BibTeX

@misc{reference.wolfram_2024_pairwisesmoothdensityhistogram, author="Wolfram Research", title="{PairwiseSmoothDensityHistogram}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/PairwiseSmoothDensityHistogram.html}", note=[Accessed: 20-January-2025 ]}

BibLaTeX

@online{reference.wolfram_2024_pairwisesmoothdensityhistogram, organization={Wolfram Research}, title={PairwiseSmoothDensityHistogram}, year={2025}, url={https://reference.wolfram.com/language/ref/PairwiseSmoothDensityHistogram.html}, note=[Accessed: 20-January-2025 ]}