Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
Takin
mag-core
Commits
32d6796b
Verified
Commit
32d6796b
authored
Feb 24, 2021
by
Tobias WEBER
Browse files
cov: small bugfix
parent
a951afe2
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/tascalc/cov.py
View file @
32d6796b
...
...
@@ -354,7 +354,8 @@ def plot_ellipses(file, Q4, w, Qmean, ellis):
subplot3d
.
set_ylabel
(
coord_names
[
1
])
subplot3d
.
set_zlabel
(
coord_names
[
3
])
subplot3d
.
scatter
(
Q4
[:,
0
],
Q4
[:,
1
],
Q4
[:,
3
],
marker
=
themarker
,
s
=
thesymsize
)
if
len
(
Q4
.
shape
)
==
2
and
len
(
Q4
)
>
0
and
len
(
Q4
[
0
])
==
4
:
subplot3d
.
scatter
(
Q4
[:,
0
],
Q4
[:,
1
],
Q4
[:,
3
],
marker
=
themarker
,
s
=
thesymsize
)
# xE
subplot3d
.
plot
(
ellplots
[
0
][
"sliced"
][
0
],
ellplots
[
0
][
"sliced"
][
1
],
zs
=
0.
,
zdir
=
"y"
,
c
=
"black"
,
linestyle
=
"dashed"
)
subplot3d
.
plot
(
ellplots
[
0
][
"proj"
][
0
],
ellplots
[
0
][
"proj"
][
1
],
zs
=
0.
,
zdir
=
"y"
,
c
=
"black"
,
linestyle
=
"solid"
)
...
...
Write
Preview
Markdown
is supported
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