Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Draw some random values from the standard
- // normal distribution.
- h := hbook.NewH2D(20, -4, +4, 20, -4, +4)
- for i := 0; i < nxpoints; i++ {
- for j := 0; j < nypoints; j++ {
- u := distx.Rand()
- v := disty.Rand()
- h.Fill(u, v, 1)
- }
- }
Add Comment
Please, Sign In to add comment