Density Plot Simple
val random = java.util.Random(42)
val dataframe = dataFrameOf(
"sample" to List(1000) { random.nextGaussian() }
)
dataframe.plot {
densityPlot("sample")
}
val random = java.util.Random(42)
val sample = List(1000) { random.nextGaussian() }
plot {
densityPlot(sample)
}
Last modified: 25 November 2023