Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
ac71fe81
Commit
ac71fe81
authored
Apr 19, 2018
by
Philipp Arras
Browse files
Plotting
parent
9f48a61e
Pipeline
#27596
passed with stage
in 1 minute and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
demos/krylov_sampling.py
View file @
ac71fe81
...
...
@@ -83,8 +83,8 @@ plt.close()
pltdict
=
{
'alpha'
:
.
3
,
'linewidth'
:
.
2
}
for
i
in
range
(
N_samps
):
if
i
==
0
:
plt
.
plot
(
sky
(
samps_old
[
i
]).
val
,
color
=
'b'
,
**
pltdict
,
label
=
'Traditional samples'
)
plt
.
plot
(
sky
(
samps
[
i
]).
val
,
color
=
'r'
,
**
pltdict
,
label
=
'Krylov samples'
)
plt
.
plot
(
sky
(
samps_old
[
i
]).
val
,
color
=
'b'
,
**
pltdict
,
label
=
'Traditional samples
(residuals)
'
)
plt
.
plot
(
sky
(
samps
[
i
]).
val
,
color
=
'r'
,
**
pltdict
,
label
=
'Krylov samples
(residuals)
'
)
else
:
plt
.
plot
(
sky
(
samps_old
[
i
]).
val
,
color
=
'b'
,
**
pltdict
)
plt
.
plot
(
sky
(
samps
[
i
]).
val
,
color
=
'r'
,
**
pltdict
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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