WLJS LogoWLJS Notebook

Show

Wolfram Kernel

Only partially supported wljs-graphics-d3 for now

Show[g1_Graphics, g2_Graphics] _Graphics

combines two or more Graphics objects

Example

Plot a histogram and a 2D graph

data = RandomVariate[GammaDistribution[4, 12.5], 10^4];
hist = Histogram[data, Automatic, "ProbabilityDensity"];
pl = Plot[PDF[GammaDistribution[4, 12.5], x], {x, 0, 200}];

Show them overlayed

Show[hist, pl]

On this page