Histogram2D (complex values)

Source code Author Update time

using Plots
gaston()
n = 10000
x = exp.(0.1 * randn(n) .+ randn(n) .* im)
histogram2d(x, nbins = (20, 40), show_empty_bins = true, normed = true, aspect_ratio = 1)
Gnuplot Produced by GNUPLOT 5.2 patchlevel 8 gnuplot_plot_1a -2 -1 0 1 2 Re(x) -1.0 -0.5 0.0 0.5 1.0 Im(x) 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6

This page was generated using DemoCards.jl and Literate.jl.