ecdfplot
ecdfplot(values; npoints=10_000[, weights])Plot the empirical cumulative distribution function (ECDF) of values.
npoints controls the resolution of the plot. If weights for the values are provided, a weighted ECDF is plotted.
Attributes
Available attributes and their defaults for Plot{Makie.ecdfplot} are: 
  alpha           1.0
  color           :black
  colormap        :viridis
  colorrange      MakieCore.Automatic()
  colorscale      identity
  cycle           [:color]
  depth_shift     0.0f0
  highclip        MakieCore.Automatic()
  inspectable     true
  linestyle       "nothing"
  linewidth       1.5
  lowclip         MakieCore.Automatic()
  nan_color       :transparent
  overdraw        false
  space           :data
  ssao            false
  step            :pre
  transparency    false
  visible         trueExamples
using CairoMakie
f = Figure()
Axis(f[1, 1])
ecdfplot!(randn(200))
fusing CairoMakie
f = Figure()
Axis(f[1, 1])
x = randn(200)
ecdfplot!(x, color = (:blue, 0.3))
ecdfplot!(x, color = :red, npoints=10)
fusing CairoMakie
f = Figure()
Axis(f[1, 1])
x = rand(200)
w = @. x^2 * (1 - x)^2
ecdfplot!(x)
ecdfplot!(x; weights = w, color=:orange)
f
    © Makie.jl. Last modified: May 07, 2024. Website built with Franklin.jl and the Julia programming language.
      
These docs were autogenerated using Makie: v0.20.10, GLMakie: v0.9.11, CairoMakie: v0.11.12, WGLMakie: v0.9.10


