Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jonathan Juhl
SortEM
Commits
9fdd7808
Commit
9fdd7808
authored
Dec 01, 2021
by
Jonathan Juhl
Browse files
Delete image_make.py
parent
92c41731
Changes
1
Hide whitespace changes
Inline
Side-by-side
image_make.py
deleted
100644 → 0
View file @
92c41731
import
numpy
as
np
import
matplotlib.pyplot
as
plt
import
matplotlib.cm
as
cm
from
matplotlib.colors
import
LogNorm
from
scipy.stats.kde
import
gaussian_kde
a
=
np
.
random
.
multivariate_normal
([
0
,
0
],
[[
1
,
0
],
[
0
,
0.01
]],
check_valid
=
'warn'
,
tol
=
1e-8
,
size
=
[
10000
])
b
=
np
.
random
.
multivariate_normal
([
0
,
0
],
[[
1
,
0
],
[
0
,
0.01
]],
check_valid
=
'warn'
,
tol
=
1e-8
,
size
=
[
10000
])
c
=
np
.
random
.
multivariate_normal
([
0
,
0
],
[[
1
,
0
],
[
0
,
0.01
]],
check_valid
=
'warn'
,
tol
=
1e-8
,
size
=
[
10000
])
s
=
np
.
concatenate
([
a
,
b
,
c
],
axis
=
0
)
x
=
s
[:,
0
]
y
=
s
[:,
1
]
H
,
xedges
,
yedges
=
np
.
histogram2d
(
x
,
y
,
bins
=
100
)
plt
.
pcolormesh
(
xedges
,
yedges
,
H
,
alpha
=
0.9
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment